Average Token Hold Time
Returns the average ERC tokens hold time in a wallet.
GraphQL Query
query TokensAverageHoldTime($walletAddress: String!){
tokensHoldTime(walletAddress: $walletAddress){
walletAddress
averageHoldTime
}
}
Variables
{
"walletAddress": String // Wallet Address
}
Response
{
"data": {
"walletHoldings": {
"walletAddress": String, // The wallet address
"erc20TokensList": Array<{
"chain": String, // Blockchain network of the token
"tokenAddress": String, // Contract address of the token
"tokenName": String, // Name of the token
"tokenSymbol": String // Symbol of the token
}>,
"erc721TokensList": Array<{
"chain": String, // Blockchain network of the token
"tokenAddress": String, // Contract address of the token
"tokenName": String, // Name of the token
"tokenSymbol": String // Symbol of the token
}>,
"erc1155TokensList": Array<{
"chain": String, // Blockchain network of the token
"tokenAddress": String, // Contract address of the token
"tokenName": String, // Name of the token
"tokenSymbol": String // Symbol of the token
}>
}
}
}
Example
Last updated