- Create account
POST[ no parameters required ]
- Check BNB Balance
POST[ 'address' : '0x9522F6ce9B3f3dA0b41f152b12408b6D48DdC438' , 'network' : 'MAINNET' ]
- Check Token Balance
POST[ 'address' : '0x9522F6ce9B3f3dA0b41f152b12408b6D48DdC438' , 'network' : 'MAINNET' , 'contract' : '0x8370f39682170550f56ae8b17e953fe070bcf235' ]
- Transfer BNB
POST[ 'to' : '0x9522F6ce9B3f3dA0b41f152b12408b6D48DdC438' , 'amount' : '10' , 'from_private_key' : 'from_address_provate_key' , 'gas' : 2000000 , 'network' : 'MAINNET' ]
- Transfer Token
POST[ 'to' : '0x9522F6ce9B3f3dA0b41f152b12408b6D48DdC438' , 'amount' : '10' , 'from_private_key' : 'from_address_provate_key' , 'gas' : 2000000 , 'network' : 'MAINNET' , 'contract' : '0x8370f39682170550f56ae8b17e953fe070bcf235' ]
- Create .env file and use env_example file
- In abi.json file add the abi of the contract
npm install
node index.js