Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
inputFormatter: [formatters.inputAddressFormatter, null]
});
const generateOneTimeAddress = new Method({
name: 'generateOneTimeAddress',
call: 'wan_generateOneTimeAddress',
params: 1,
inputFormatter: [null]
});
const getOTABalance = new Method({
name: 'getOTABalance',
call: 'wan_getOTABalance',
params: 2,
inputFormatter: [null, formatters.inputDefaultBlockNumberFormatter],
outputFormatter: formatters.outputBigNumberFormatter
});
const getOTAMixSet = new Method({
name: 'getOTAMixSet',
call: 'wan_getOTAMixSet',
params: 2
});
const getSupportStampOTABalances = new Method({
name: 'getSupportStampOTABalances',
call: 'wan_getSupportStampOTABalances',
params: 0,
});
const getSupportWanCoinOTABalances = new Method({
name: 'getSupportWanCoinOTABalances',