j_wallet_sdk
Version:
28 lines (23 loc) • 556 B
JavaScript
const Binance = require("j_wallet_sdk/wallet/binance")
const testV1Class = class testV1 extends Binance {
// 写入多余的扩展方法
/**
* 设置key
* @param {*} key
* @param {*} value
* @returns
*/
async SetUint256Param(key, value) {
return await this.sendMethod('SetUint256Param', 0, 0, ...[
key, value
])
}
/**
* 获取key
* @param {*} key
*/
async GetUint256Param(key) {
return await this.callMethod('GetUint256Param', key)
}
}
module.exports = testV1Class