Query historical token list
Description
MethodοΌHTTPS POST
Encoding: UTF-8
Path: https://api.blockin.ai/v2/mirror/user/token_list
Description: Query historical token list by chain name, user address and mirror time or block height.
Request Header
Content-Type
Y
String
application/json
AccessKey
Y
String
1bdb01c947c54919b64d1fc6794atest
Request Parameters
mirror_time
N
Long
Historical timestamp you want to query. Mirror time needs to be accurate to the second.(Either block number or mirror time is required)
block_height
N
Long
Historical block height you want to query.(Either block height or mirror time is required)
chain_name
Y
String
address
Y
String
User's address
Response
Public Response
success
Y
Boolean
Success Boolean
data
N
Object
Response object
error_code
N
String
Error code
error_msg
N
String
Error message
Response Content
mirror_time
Long
Y
Historical timestamp(seconds) that you want to query.
chain_block
Map
N
The block height of the querying chains in response data.
tokens
List
Y
Request Sample
curl --request POST --url https://www.blockin.ai/v2/mirror/user/token_list --header 'AccessKey: 1bdb01c947c54919b64d1fc6794atest' --header 'content-type: application/json' --data '{ "chain_name": "eth", "mirror_time": 1688019180, "block_height": null, "address": "0x4d0e439ba905eb39aee88097433add619cf5257b", "protocol_name": null }'
Successful Response Sample
Last updated