History subscription query
Description
Description: Query history subscription
Path: https://api.blockin.ai/v2/subscribe/history/query
Encoding: UTF-8
Method: HTTPS POST
Request Header
Parameter
Text
Required
Description
Content-Type
String
Y
application/json
AccessKey
String
Y
AccessKey
Request Parameters
Parameter
Type
Required
Description
batch_no
String
Y
The unique identifier of the response after successfully creating the subscription address list
Response
Parameter
Type
Required
Description
chain_names
String
N
Chains that you subscribed
amount
BigDecimal
N
Push notifications will only be triggered when the amount reaches the set value in USD
address_type
String
N
User address(default) and token address
address_list
List
Y
Address list you want to query
Request and Response Sample
curl -H "Content-Type:application/json" -H "AccessKey:1bdb01c947c54919b64d1fc6794atest" -X POST "https://api.blockin.ai/v2/subscribe/history/query" -d'{Request json}'
Request json
{
"batch_no": "20230518062650763000484207221544"
}
Return json
{
"success": true,
"data": {
"address_list": [
"0xdd3db40e569a28244790a9f58b59efc4efbbe937",
"0x0c14c154558ad0eb2f305bfa365426f6774894f4"
],
"amount": 10000,
"chain_names": "ETH,BSC"
},
"error_code": null,
"error_msg": null
}
Last updated