获取交易中的转账记录
获取交易中的所有转账信息。此端点不会消耗您的 API 额度。
按交易哈希获取转账拆分明细。
授权
API-Keystring必填
路径参数
chain_idinteger必填Example:
区块链 ID。
1hashstring必填Example:
交易哈希。
0xde64ab6dccf27bda99fa7efdc2fcc58475859dae4fd95a8da267dc0994ab5971响应
200
响应。即使 HTTP 状态码为 200,code 非 0 也表示业务错误。
application/json
codeinteger可选Example:
该请求的状态码。关于所有可能出现的 code 和 message,请查看:https://docs.compliance.phalcon.blocksec.com/api-documentation/introduction/error-messages。
0msgstring可选Example:
该请求的 message。关于所有可能出现的 code 和 message,请查看:https://docs.compliance.phalcon.blocksec.com/api-documentation/introduction/error-messages。
Success401
鉴权失败。API-Key 请求头缺失或无效。
429
超出调用频率限制。请降低请求频率后重试。
get/transactions/transfers/{chain_id}/{hash}
GET /phalcon/compliance/v2/transactions/transfers/{chain_id}/{hash} HTTP/1.1
Host: api.blocksec.com
API-Key: YOUR_API_KEY
Accept: */*
{
"code": 0,
"msg": "Success",
"data": [
{
"transferIndex": 0,
"transferId": "1_0x561c3b0a76724d0f5cb213e2483a2ffdd52d81c0853a81ce9220fc9259467cb9_0",
"fromAddress": "0x90d2fa5ed6226b54136fb79c9f7802c489da1677",
"toAddress": "0x73559ff773e12b7a823e2875408a2f226828896d",
"token": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
"tokenSymbol": "Ether",
"tokenAmount": "3.37",
"usdValue": "6240.01"
}
]
}最后更新于