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

Obter transferências de uma transação

Obtenha todas as informações de transferência em uma transação. Este endpoint não consome seus créditos de API.

Get transaction transfers

get

Retrieve transfer breakdown for a transaction hash.

Autorizações
API-KeystringObrigatório
Parâmetros de rota
chain_idintegerObrigatório

Blockchain ID.

Example: 1
hashstringObrigatório

Transaction hash.

Example: 0xde64ab6dccf27bda99fa7efdc2fcc58475859dae4fd95a8da267dc0994ab5971
Respostas
200

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

application/json
codeintegerOpcional

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
msgstringOpcional

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"
    }
  ]
}

Atualizado