πevm
Last updated
npm install @nest25/wallet-lib
OR
yarn add @nest25/wallet-libconst { Wallet } = require('@nest25/wallet-lib');
const wallet = new Wallet('');
async function main() {
const response = await wallet.chainBalances("choice kidney aerobic derive chat recall ranch siege enemy certain hand dry");
console.log( "response --> ",JSON.stringify(response));
}
main();
response --> {"code":1,"balances":{"AVA":{"balance":0,"balanceInUSD":"0"},"BNB":{"balance":0,"balanceInUSD":"0"},"ETH":{"balance":0,"balanceInUSD":"0"},"KLAY":{"balance":0,"balanceInUSD":"0"},"MATIC":{"balance":0,"balanceInUSD":"0"},"VLRY":{"balance":0,"balanceInUSD":"0"},"AUR":{"balance":0,"balanceInUSD":"0"},"GLMR":{"balance":0,"balanceInUSD":"0"},"GNO":{"balance":0,"balanceInUSD":"0"},"OP":{"balance":0,"balanceInUSD":"0"},"ARB":{"balance":0,"balanceInUSD":"0"},"CELO":{"balance":0,"balanceInUSD":"0"},"SOL":{"balance":0,"balanceInUSD":"0"}}}