Aller au contenu
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Obtenir les transferts d’une transaction

Obtenir toutes les informations sur les transferts d’une transaction. Ce point de terminaison ne consomme pas vos crédits API.

Get transaction transfers

get

Retrieve transfer breakdown for a transaction hash.

Autorisations
API-KeystringRequis
Paramètres de chemin
chain_idintegerRequis

Blockchain ID.

Example: 1
hashstringRequis

Transaction hash.

Example: 0xde64ab6dccf27bda99fa7efdc2fcc58475859dae4fd95a8da267dc0994ab5971
Réponses
200

Response. A non-zero code indicates a business error even when the HTTP status is 200.

application/json
codeintegerOptionnel

The status code of this request. For all possible codes and corresponding errors/messages, see https://docs.compliance.phalcon.blocksec.com/api-documentation/introduction/error-messages.

Example: 0
msgstringOptionnel

The message of this request. For all possible codes and corresponding errors/messages, see 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"
    }
  ]
}

Mis à jour