Query historical LP_token info
Last updated
Last updated
MethodοΌHTTPS POST
Encoding: UTF-8
Path:https://api.blockin.ai/v2/mirror/token/lp_token/info
Description: Query LP's token historical info through token address on the chain and protocol supported by Blockin. Mirror time can be described as either block number or timestamp.
Content-Type
Y
String
application/json
AccessKey
Y
String
1bdb01c947c54919b64d1fc6794atest
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_number
N
Long
Historical block number you want to query.(Either block number or mirror time is required)
chain_name
Y
String
address
Y
String
LP's Token address
success
Y
Boolean
Success Boolean
data
N
Object
Response object
error_code
N
String
Error code
error_msg
N
String
Error message
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.
lp_token
Object
Y
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": 1671966177, "block_number": null, "address": "0xdfc14d2af169b0d36c4eff567ada9b2e0cae044f" }'
Chain's name, only support single chain's name (abbr or full name). eg: eth,Ethereum.
Response data. Like this [lp_token]()