List Tokens Transfers By Transaction Hash

Through this endpoint customers can obtain a list with token transfers by the transactionHash attribute. Token transfers may include information such as addresses of the sender and recipient, token name, token symbol, etc.

This refers only to transfers done for tokens not coins.

List of Results - This endpoint returns multiple objects which means pagination is applicable. GET /blockchain-data/{blockchain}/{network}/transactions/{transactionHash}/tokens-transfers

Path Parameters

  • Required
    blockchain string

    Represents the specific blockchain protocol name, e.g. Ethereum, Ethereum Classic, etc.

    Example : ethereum
    Possible Values : ethereum ethereum-classic binance-smart-chain tron
  • Required
    network string

    Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - "mainnet" is the live network with actual data while networks like "testnet", "goerli" are test networks.

    Example : sepolia
    Possible Values : mainnet mordor testnet nile sepolia
  • Required
    transactionHash string

    Represents the hash of the transaction, which is its unique identifier. It represents a cryptographic digital fingerprint made by hashing the block header twice through the SHA256 algorithm.

    Example : 0xbc8245ba5cccb524d91256224689ac0f16678321a266bab8197ad7daab4c9e16

Query parameters

  • Optional
    context string

    In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. context is specified by the user.

    Example : yourExampleString
  • Optional
    limit integer

    Defines how many items should be returned in the response per page basis.

    Default : 50
    Example : 50
  • Optional
    offset integer

    The starting index of the response items, i.e. where the response should start listing the returned items.

    Default : 0
    Example : 0

Response schema

200 400 401 402 403 409 415 422 429 500
HTTP Status Code: 200
Content-Type: application/json

The request has been successful.

  • Object :

  • Required
    apiVersion string

    Specifies the version of the API that incorporates this endpoint.

    Example : 2023-04-25
  • Required
    requestId string

    Defines the ID of the request. The requestId is generated by Crypto APIs and it's unique for every request.

    Example : 601c1710034ed6d407996b30
  • Optional
    context string

    In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. context is specified by the user.

    Example : yourExampleString
  • Required
    data object
    • Required
      limit integer

      Defines how many items should be returned in the response per page basis.

      Example : 50
    • Required
      offset integer

      The starting index of the response items, i.e. where the response should start listing the returned items.

      Example : 0
    • Required
      total integer

      Defines the total number of items returned in the response.

      Example : 100
    • Required
      items array
      Example : Array ( )
      • Required
        contractAddress string

        Represents the contract address of the token, which controls its logic. It is not the address that holds the tokens.

        Example : 0x7495fede000c8a3b77eeae09cf70fa94cd2d53f5
      • Required
        minedInBlockHeight integer

        Defines the block height in which this transaction was confirmed/mined.

        Example : 9841271
      • Required
        recipientAddress string

        Defines the address to which the recipient receives the transferred tokens.

        Example : 0x9e91eb3a35b96f0f0fe71f3c17fe8d29eb406b16
      • Required
        senderAddress string

        Defines the address from which the sender transfers tokens.

        Example : 0x9df8a6441e8a3dda75019595d431f9aa0dec475c
      • Optional
        tokenDecimals integer

        Defines the decimals of the token, i.e. the number of digits that come after the decimal coma of the token.

        Example : 6
      • Required
        tokenId string

        Represents the tokenId value

        Example : 430686
      • Optional
        tokenName string

        Defines the token's name as a string.

        Example : Tether USD
      • Optional
        tokenSymbol string

        Defines the token symbol by which the token contract is known. It is usually 3-4 characters in length.

        Example : BAND
      • Required
        tokenType string

        Defines the specific token type.

        Example : ERC-20
      • Required
        tokensAmount string

        Defines the token amount of the transfer.

        Example : 0.0012
      • Required
        transactionHash string

        Represents the hash of the transaction, which is its unique identifier. It represents a cryptographic digital fingerprint made by hashing the block header twice through the SHA256 algorithm.

        Example : 0x60ba3dded833e61f63b6b6d62afe5c7526c5ca09c6744749f13eef11afde2cb4
      • Required
        transactionTimestamp integer

        Defines the specific time/date when the transaction was created in Unix Timestamp.

        Example : 1615818368
      • Required
        transactionFee object
        • Required
          amount string

          Represents the total fee of a transaction which includes token transfers.

          Example : 0.0000051873
        • Required
          unit string

          Represents the unit of the fee.

          Example : ETH

Credits Cost : 100 Credits For 1 Result(s)

Try it out

Request Example

GET
https://rest.cryptoapis.io/blockchain-data/ethereum/sepolia/transactions/0xbc8245ba5cccb524d91256224689ac0f16678321a266bab8197ad7daab4c9e16/tokens-transfers?context=yourExampleString&limit=50&offset=0
Headers
Content-Type: application/json
X-API-Key: my-api-key

Response Example

{
    "apiVersion": "2023-04-25",
    "requestId": "601c1710034ed6d407996b30",
    "context": "yourExampleString",
    "data": {
        "limit": 50,
        "offset": 0,
        "total": 100,
        "items": [
            {
                "contractAddress": "0x7495fede000c8a3b77eeae09cf70fa94cd2d53f5",
                "minedInBlockHeight": 9841271,
                "recipientAddress": "0x9e91eb3a35b96f0f0fe71f3c17fe8d29eb406b16",
                "senderAddress": "0x9df8a6441e8a3dda75019595d431f9aa0dec475c",
                "tokenDecimals": 6,
                "tokenId": "430686",
                "tokenName": "Tether USD",
                "tokenSymbol": "BAND",
                "tokenType": "ERC-20",
                "tokensAmount": "0.0012",
                "transactionHash": "0x60ba3dded833e61f63b6b6d62afe5c7526c5ca09c6744749f13eef11afde2cb4",
                "transactionTimestamp": 1615818368,
                "transactionFee": {
                    "amount": "0.0000051873",
                    "unit": "ETH"
                }
            }
        ]
    }
}