Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- async tokenAccountStore({ request, response, auth }) {
- try {
- const testing_url = 'https://api-rinkeby.etherscan.io/api'
- // Get Token Balance
- let data = {
- params: {
- module: 'account',
- action: 'balance',
- contactaddress: request.input('contactaddress'),
- address: request.input('address'),
- tag: 'latest',
- apikey: 'QVX1I9417EQJBBN8ZAWNB82H7UXZR5J4QW'
- }
- }
- const getacc = await axios.get(testing_url, data);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement