Comment on page
Tokens
Returns the current amount of an ERC-20 token in circulation.
https://api.arbiscan.io/api
?module=stats
&action=tokensupply
&contractaddress=0x51318b7d00db7acc4026c88c3952b66278b6a67f
&apikey=YourApiKeyToken
Request
Response
Query Parameters
Parameter | Description |
---|---|
contractaddress | the contract address of the ERC-20 token |
Sample Response
{
"status":"1",
"message":"OK",
"result":"100000000000000000000000000"
}
Tip : The
📈
result
is returned in the token's smallest decimal representation.Eg. a token with a balance of
215.241526476136819398
and 18 decimal places will be returned as 215241526476136819398
Returns the current balance of an ERC-20 token of an address.
https://api.arbiscan.io/api
?module=account
&action=tokenbalance
&contractaddress=0xfc5a1a6eb076a2c7ad06ed22c90d7e710e35ad0a
&address=0x1aeedd3727a6431b8f070c0afaa81cc74f273882
&tag=latest&apikey=YourApiKeyToken
Request
Response
Query Parameters
Parameter | Description |
---|---|
contractaddress | the contract address of the ERC-20 token |
address | the string representing the address to check for token balance |
Sample Response
{
"status":"1",
"message":"OK",
"result":"8477021700220219926602"
}
Tip : The
📈
result
is returned in the token's smallest decimal representation.Eg. a token with a balance of
215.241526476136819398
and 18 decimal places will be returned as 215241526476136819398
Last modified 1yr ago