Tokens
Get ERC20-Token Account Balance for TokenContractAddress
Returns the current balance of an ERC-20 token of an address.
Sample request
https://api.main.atgraphite.com/api
?module=token
&action=tokenbalance
&contractaddress=0x57d90b64a1a57749b0f932f1a3395792e12e7055
&address=0xe04f27eb70e025b78871a2ad7eabe85e61212761
&tag=0xde6cf2
&apikey=YourApiKeyTokencurl 'https://api.main.atgraphite.com/api?module=token&action=tokenbalance&contractaddress=0x57d90b64a1a57749b0f932f1a3395792e12e7055&address=0xe04f27eb70e025b78871a2ad7eabe85e61212761&tag=0xde6cf2&apikey=YourApiKeyToken'Request query parameters
contractaddress*
the contract address of the ERC-20 token
address*
the string representing the address to check for token balance
tag
the string pre-defined block parameter, either earliest, latest or block number in hex format, default value is latest
Sample response
{
"status": "1",
"message": "OK",
"result": "135499"
}Get Historical ERC20-Token TotalSupply by ContractAddress & BlockNo PRO
PROReturns the amount of an ERC-20 token in circulation at a certain block height.
Sample request
Request query parameters
contractaddress*
the contract address of the ERC-20 token
blockno*
the integer block number to check total supply
Sample response
Get Historical ERC20-Token Account Balance for TokenContractAddress by BlockNo PRO
PROReturns the balance of an ERC-20 token of an address at a certain block height.
Sample request
Request 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
Sample response
Get Token Holder List by Contract Address PRO
PROReturn the current ERC20 token holders and number of tokens held.
Sample request
Request query parameters
contractaddress*
the contract address of the ERC-20 token
offset
skips the offset records before beginning to return the records, default value is 0
limit
the number of records displayed per page, default value is 10000
sort
the sorting preference, use asc to sort by ascending and desc to sort by descending, default value is asc
Sample response
Get Number of Token Balances by Contract Address PRO
PROReturns the number of current token balance entries for the specified token.
Sample request
Request query parameters
contractaddress*
the contract address of the ERC-20 token
Sample response
Get Token Info by ContractAddress PRO
PROReturns project information and social media links of an ERC20/ERC721/ERC1155 token.
Sample request
Request query parameters
contractaddress*
the contract address of the ERC-20/ERC-721 token to retrieve token info
Sample response
Get Token List PRO
PROReturns a list of tokens (ERC-20, ERC-721).
Sample request
Request query parameters
marketonly
the boolean flag, false to include all tokens, true to include only those tokens that have market data, default value is true
type
the string representing the token type, either erc20, erc721 or erc1155
sortby
the sorting preference, either holders, price, change, circulating_market_cap or volume
offset
skips the offset records before beginning to return the records, default value is 0
limit
the number of records displayed per page, default value is 10000
sort
the sorting preference, use asc to sort by ascending and desc to sort by descending, default value is asc
Sample response
Get the total number of tokens PRO
PROReturns the total number of tokens for a given token type.
Sample request
Request query parameters
marketonly
the boolean flag, false to include all tokens, true to include only those tokens that have market data, default value is true
type
the string representing the token type, either erc20, erc721 or erc1155
Sample response
Get Address ERC20 Token Holding PRO
PROReturns the ERC-20 tokens and amount held by an address.
Sample request
Request query parameters
address*
the string representing the address to check for balance
offset
skips the offset records before beginning to return the records, default value is 0
limit
the number of records displayed per page, default value is 10000
sort
the sorting preference by amount of tokens in usd, use asc to sort by ascending and desc to sort by descending, default value is asc
Sample response
Get the number of ERC20 holding tokens PRO
PROReturns the number of ERC-20 holding tokens by an address.
Sample request
Request query parameters
address*
the string representing the address
Sample response
Get a list of 'ERC20 - Token Transfer Events' PRO
PROReturns the list of ERC-20 token transfers.
Sample request
Request query parameters
startblock
the integer block number to start searching for transactions
endblock
the integer block number to stop searching for transactions
offset
skips the offset records before beginning to return the records, default value is 0
limit
the number of records displayed per page, default value is 10000
sort
the sorting preference, use asc to sort by ascending and desc to sort by descending, default value is asc
Sample response
Get the total number of token transactions PRO
PROReturns the total number of token transactions.
Sample request
Sample response
Get a list of 'ERC20 - Token Approvals' PRO
PROReturns the list of ERC-20 token approvals.
Sample request
Request query parameters
owner
the string representing the address of the token owner
spender
the string representing the address of the token spender
contractaddress
the contract address of the ERC-20 token
offset
skips the offset records before beginning to return the records, default value is 0
limit
the number of records displayed per page, default value is 10000
Note: You must specify at least one of the following parameters: owner, spender, or contractaddress. Approvals are returned in reverse chronological order.
Sample response
Get the most recent 'ERC20 - Token Approvals' PRO
PROReturns a list of the latest ERC-20 token approvals.
Sample request
Request query parameters
owner
the string representing the address of the token owner
spender
the string representing the address of the token spender
contractaddress
the contract address of the ERC-20 token
includezero
the boolean flag (true or false) for including zero value approvals, default value is true
offset
skips the offset records before beginning to return the records, default value is 0
limit
the number of records displayed per page, default value is 10000
Note: You must specify at least one of the following parameters: owner, spender, or contractaddress.
Sample response
Last updated