Comment on page
Token Balances
You can see all your ERC-20 tokens and Native coins in these services ethereum, binance smart chain, avalanche and polygon network by wallet.
You can use it as a bag service for your project. With this service, you can tell whether the tokens in the bag are verified or not. In addition, the instant prices of the tokens in the bag also come with this request. In addition to all this, between the contract information and the variables in the photo. All of these combined make the following example very easy to do.

var axios = require('axios');
axios.get('https://api.getdefy.co/v1/o/wallet/tokens', {
params: {
address: '0x787970ad122d5947579e613c2464d9540081b46f',
language: 'en',
key: 'API_KEY',
},
})
.then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
address
(required): A user address (i.e.0x1a2b3x...
). If specified, the user attached to the query is ignored and the address will be used instead.key
(required): API key for requests.language
(optional): Service language. Default value isen
. Can been
ortr
.
get
https://api.getdefy.co/v1/o
/wallet/tokens
Request Example
Parameters
Query
key*
API Key
address*
Wallet Address
language
Can be: "en", "tr"
Responses
200: OK
400: Bad Request
Last modified 4mo ago