Tokens
Get ERC20-Token TotalSupply by ContractAddress
Returns the current amount of an ERC-20 token in circulation.
https://api.xdcscan.io/api
?module=stats
&action=tokensupply
&contractaddress=0xff7412ea7c8445c46a8254dfb557ac1e48094391
Try this endpoint in your browser 🔗
Query Parameters
contractaddress
the contract address
of the ERC-20 token
Get ERC20-Token Account Balance for TokenContractAddress
Returns the current balance of an ERC-20 token of an address.
https://api.xdcscan.io/api
?module=account
&action=tokenbalance
&contractaddress=0x8b20c72f1b138a41d2193dd056e117dce915ba8b
&address=xdcaff614f772dd4723bffd5d5cf824b7643688a923
&tag=latest&apikey=YourApiKeyToken
Try this endpoint in your browser 🔗
Query Parameters
contractaddress
the contract address
of the ERC-20 token
address
the string
representing the address to check for token balance
Get Historical ERC20-Token TotalSupply by ContractAddress & BlockNo 
Returns the amount of an ERC-20 token in circulation at a certain block height.
📝 Note : This endpoint is throttled to 2 calls/second regardless of API Pro tier.
https://api.xdcscan.io/api
?module=stats
&action=tokensupplyhistory
&contractaddress=0x57d90b64a1a57749b0f932f1a3395792e12e7055
&blockno=8000000
&apikey=YourApiKeyToken
Try this endpoint in your browser 🔗
Query Parameters
contractaddress
the contract address
of the ERC-20 token
blockno
the integer
block number to check total supply for eg. 76986383
Get Historical ERC20-Token Account Balance for TokenContractAddress by BlockNo 
Returns the balance of an ERC-20 token of an address at a certain block height.
📝 Note : This endpoint is throttled to 2 calls/second regardless of API Pro tier.
https://api.xdcscan.io/api
?module=account
&action=tokenbalancehistory
&contractaddress=0x57d90b64a1a57749b0f932f1a3395792e12e7055
&address=0xe04f27eb70e025b78871a2ad7eabe85e61212761
&blockno=8000000
&apikey=YourApiKeyToken
Try this endpoint in your browser 🔗
Query Parameters
contractaddress
the contract address
of the ERC-20 token
address
the string
representing the address to check for balance
blockno
the integer
block number to check total supply for eg. 76986383
Get Token Holder List by Contract Address 
Return the current ERC20 token holders and number of tokens held.
https://api.xdcscan.io/api
?module=token
&action=tokenholderlist
&contractaddress=0x5d5f074837f5d4618b3916ba74de1bf9662a3fed
&page=1
&offset=10
&apikey=YourApiKeyToken
Try this endpoint in your browser 🔗
Query Parameters
contractaddress
the contract address
of the ERC-20 token
page
the integer
page number, if pagination is enabled
offset
the number of transactions displayed per page
Get Token Info by ContractAddress 
Returns project information and social media links of an ERC20/ERC721/ERC1155 token.
https://api.xdcscan.io/api
?module=token
&action=tokeninfo
&contractaddress=0x5d5f074837f5d4618b3916ba74de1bf9662a3fed
Try this endpoint in your browser 🔗
Query Parameters
contractaddress
the contract address
of the ERC-20/ERC-721 token to retrieve token info
Get Address ERC20 Token Holding 
Returns the ERC-20 tokens and amount held by an address.
Note : This endpoint is throttled to 2 calls/second regardless of API Pro tier.
https://api.xdcscan.io/api
?module=account
&action=addresstokenbalance
&address=xdcd77875dF9C9dE07a5a701F4431743e3A0e9Fe03a
&page=1
&offset=100
&apikey=YourApiKeyToken
Try this endpoint in your browser 🔗
Query Parameters
address
the string
representing the address to check for balance
page
the integer
page number, if pagination is enabled
offset
the number of transactions displayed per page
Get Address ERC721 Token Holding 
Returns the ERC-721 tokens and amount held by an address.
Note : This endpoint is throttled to 2 calls/second regardless of API Pro tier.
https://api.xdcscan.io/api
?module=account
&action=addresstokennftbalance
&address=xdcb6191f07e66a81ea6b0827cbe2e073ff2a8f5047
&page=1
&offset=100
&apikey=YourApiKeyToken
Try this endpoint in your browser 🔗
Query Parameters
address
the string
representing the address to check for balance
page
the integer
page number, if pagination is enabled
offset
the number of transactions displayed per page
Get Address ERC721 Token Inventory By Contract Address 
Returns the ERC-721 token inventory of an address, filtered by contract address.
📝 Note : This endpoint is throttled to 2 calls/second regardless of API Pro tier.
https://api.xdcscan.io/api
?module=account
&action=addresstokennftinventory
&address=xdcc2f3b189095e3931241b61ce584331dcec146cb9
&contractaddress=0x134279d46ce98cca734d9a43cc3dda63a1ac755d
&page=1
&offset=100
&apikey=YourApiKeyToken
Try this endpoint in your browser 🔗
Query Parameters
address
the string
representing the address to check for inventory
contractaddress
the string
representing the ERC-721 token contractaddress to check for inventory
page
the integer
page number, if pagination is enabled
offset
the number of records displayed per page
limited to 1000 records per query, use the page
parameter for subsequent records
Last updated