跳转到内容
For the complete documentation index, see llms.txt. This page is also available as Markdown.

获取交易中的转账记录

获取交易中的所有转账信息。此端点不会消耗您的 API 额度。

获取交易转账明细

get

按交易哈希获取转账拆分明细。

授权
API-Keystring必填
路径参数
chain_idinteger必填

区块链 ID。

Example: 1
hashstring必填

交易哈希。

Example: 0xde64ab6dccf27bda99fa7efdc2fcc58475859dae4fd95a8da267dc0994ab5971
响应
200

响应。即使 HTTP 状态码为 200,code 非 0 也表示业务错误。

application/json
codeinteger可选

该请求的状态码。关于所有可能出现的 code 和 message,请查看:https://docs.compliance.phalcon.blocksec.com/api-documentation/introduction/error-messages。

Example: 0
msgstring可选

该请求的 message。关于所有可能出现的 code 和 message,请查看:https://docs.compliance.phalcon.blocksec.com/api-documentation/introduction/error-messages。

Example: Success
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"
    }
  ]
}

最后更新于