getHistoricalTokenBalancesForWalletAddress
GET https://api.covalenthq.com/v1/:chainName/address/:walletAddress/historical_balances/?quote-currency=&nft=&no-nft-fetch=&no-spam=&no-nft-asset-metadata=&block-height=&date=
Returns: HistoricalBalancesResponse{
"address" : "{{STRING}}",
"updated_at" : "{{DATETIME}}",
"next_update_at" : "{{DATETIME}}",
"quote_currency" : "{{STRING}}",
"chain_id" : "{{INTEGER}}",
"chain_name" : "{{STRING}}",
"items" : [ {
"contract_decimals" : "{{INTEGER}}",
"contract_name" : "{{STRING}}",
"contract_ticker_symbol" : "{{STRING}}",
"contract_address" : "{{STRING}}",
"supports_erc" : [ "{{STRING}}" ],
"logo_url" : "{{STRING}}",
"block_height" : "{{INTEGER}}",
"last_transferred_block_height" : "{{INTEGER}}",
"last_transferred_at" : "{{DATETIME}}",
"native_token" : "{{BOOLEAN}}",
"type" : "{{STRING}}",
"is_spam" : "{{BOOLEAN}}",
"balance" : "{{STRING}}",
"quote_rate" : "{{DOUBLE}}",
"quote" : "{{DOUBLE}}",
"pretty_quote" : "{{STRING}}",
"nft_data" : [ {
"token_id" : "{{STRING}}",
"token_url" : "{{STRING}}",
"original_owner" : "{{STRING}}",
"external_data" : {
"name" : "{{STRING}}",
"description" : "{{STRING}}",
"asset_url" : "{{STRING}}",
"asset_file_extension" : "{{STRING}}",
"asset_mime_type" : "{{STRING}}",
"asset_size_bytes" : "{{STRING}}",
"image" : "{{STRING}}",
"image256" : "{{STRING}}",
"image512" : "{{STRING}}",
"image1024" : "{{STRING}}",
"animation_url" : "{{STRING}}",
"external_url" : "{{STRING}}",
"attributes" : [ {
"trait_type" : "{{STRING}}",
"value" : "{{STRING}}"
} ]
},
"asset_cached" : "{{BOOLEAN}}",
"image_cached" : "{{BOOLEAN}}"
} ]
} ]
}
Body
PARAM
Key | Datatype | Required | Description |
quote-currency
|
null | ||
nft
|
null | ||
no-nft-fetch
|
null | ||
no-spam
|
null | ||
no-nft-asset-metadata
|
null | ||
block-height
|
null Curl curl -X GET 'https://api.covalenthq.com/v1/:chainName/address/:walletAddress/historical_balances/?quote-currency=&nft=&no-nft-fetch=&no-spam=&no-nft-asset-metadata=&block-height=&date=?quote-currency=&nft=&no-nft-fetch=&no-spam=&no-nft-asset-metadata=&block-height=&date=' -H 'Content-Type: application/json' ENDPOINTS |