qkd-sdk
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

乾坤袋 SDK

安装

npm install qkd-sdk

使用

const SDK = require('qkd-sdk');

const api = new SDK({
  qkd_api_url: '',
  qkd_api_key: '',
  api_key: '',
  secret_key: '',
});

const result = await api.getCoins();
console.log(result);

API 方法

  • 查询币种列表 getCoins
  • 获取充值记录 getDepositRecord
  • 获取提现记录 getWithdrawRecord
  • 发起提币申请 withdraw
  • 分配/获取充币地址 distributionDepositAddress
  • 检查消息是否合法 checkMessageValid
  • 按订单ID查询提现记录 getWithdrawById
  • 查询币种详情 getCoinDetail
  • 主动触发重发消息 messageRetry
  • 参数排序 sort
  • 签名校验 verify

Readme

Keywords

none

Package Sidebar

Install

npm i qkd-sdk

Weekly Downloads

2

Version

1.0.0

License

MIT

Unpacked Size

6.67 kB

Total Files

5

Last publish

Collaborators

  • mintsweet