---
updatedAt: 2026-05-27T08:47:41.000Z
agentTools:
  projectIndex: https://docs.tatum.io/llms.txt
---

# Get transactions by hash

<p style='display: none'>/v4/data/transactions/hash</p>
<p><b>10 credits per API call</b></p>

> 📘 **Note for v3 API users:** 
>
> As part of our documentation consolidation, we deprecated the endpoint for GET /v3/data/transactions/hash. Users can refer to GET /v4/data/transactions/hash for the latest documentation, as both endpoints function the same.

<p>Get transactions by hash on the following blockchains:</p>
<ul>
<li>Ethereum - ethereum-mainnet / ethereum-sepolia</li>
<li>Base - base-mainnet / base-sepolia</li>
<li>Arbitrum - arb-one-mainnet / arb-testnet</li>
<li>BNB (Binance) Smart Chain - bsc-mainnet / bsc-testnet</li>
<li>Polygon - polygon-mainnet</li>
<li>Optimism - optimism-mainnet / optimism-testnet</li>
<li>Berachain - berachain-mainnet</li>
<li>Unichain - unichain-mainnet / unichain-sepolia</li>
<li>Monad - monad-mainnet / monad-testnet</li>
<li>Robinhood - robinhood-mainnet / robinhood-testnet</li>
<li>Celo - celo-mainnet / celo-testnet</li>
<li>Chiliz - chiliz-mainnet</li>
<li>Tezos - tezos-mainnet</li>
<li>Avalanche - avax-mainnet / avax-testnet</li>
<li>Gnosis - gno-mainnet / gno-testnet</li>
<li>zkSync - zksync-mainnet / zksync-testnet</li>
<li>Rootstock - rsk-mainnet / rsk-testnet</li>
<li>Ethereum Classic - ethereum-classic-mainnet / ethereum-classic-testnet</li>
<li>Lisk - lisk-mainnet / lisk-testnet (end of life since 2026-11-02, requests fail with errorCode chain.end.of.life)</li>
<li>XDC - xdc-mainnet / xdc-testnet</li>
<li>Sonic - sonic-mainnet / sonic-blaze</li>
</ul>
<p>To get started:</p>
<ul>
<li>Provide a chain name and transaction hash, and our API will return a list of transactions with that hash.</li>
<li>The response will contain all the relevant information about specified transactions such as their block number, IDs of involved token, and more.</li>
</ul>


# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "servers": [
    {
      "url": "https://api.tatum.io"
    }
  ],
  "info": {
    "version": "1.2",
    "title": "Blockchain Data"
  },
  "tags": [
    {
      "name": "Transactions API"
    }
  ],
  "paths": {
    "/v4/data/transactions/hash": {
      "get": {
        "description": "<p style='display: none'>/v4/data/transactions/hash</p>\n<p><b>10 credits per API call</b></p>\n\n> 📘 **Note for v3 API users:** \n>\n> As part of our documentation consolidation, we deprecated the endpoint for GET /v3/data/transactions/hash. Users can refer to GET /v4/data/transactions/hash for the latest documentation, as both endpoints function the same.\n\n<p>Get transactions by hash on the following blockchains:</p>\n<ul>\n<li>Ethereum - ethereum-mainnet / ethereum-sepolia</li>\n<li>Base - base-mainnet / base-sepolia</li>\n<li>Arbitrum - arb-one-mainnet / arb-testnet</li>\n<li>BNB (Binance) Smart Chain - bsc-mainnet / bsc-testnet</li>\n<li>Polygon - polygon-mainnet</li>\n<li>Optimism - optimism-mainnet / optimism-testnet</li>\n<li>Berachain - berachain-mainnet</li>\n<li>Unichain - unichain-mainnet / unichain-sepolia</li>\n<li>Monad - monad-mainnet / monad-testnet</li>\n<li>Robinhood - robinhood-mainnet / robinhood-testnet</li>\n<li>Celo - celo-mainnet / celo-testnet</li>\n<li>Chiliz - chiliz-mainnet</li>\n<li>Tezos - tezos-mainnet</li>\n<li>Avalanche - avax-mainnet / avax-testnet</li>\n<li>Gnosis - gno-mainnet / gno-testnet</li>\n<li>zkSync - zksync-mainnet / zksync-testnet</li>\n<li>Rootstock - rsk-mainnet / rsk-testnet</li>\n<li>Ethereum Classic - ethereum-classic-mainnet / ethereum-classic-testnet</li>\n<li>Lisk - lisk-mainnet / lisk-testnet (end of life since 2026-11-02, requests fail with errorCode chain.end.of.life)</li>\n<li>XDC - xdc-mainnet / xdc-testnet</li>\n<li>Sonic - sonic-mainnet / sonic-blaze</li>\n</ul>\n<p>To get started:</p>\n<ul>\n<li>Provide a chain name and transaction hash, and our API will return a list of transactions with that hash.</li>\n<li>The response will contain all the relevant information about specified transactions such as their block number, IDs of involved token, and more.</li>\n</ul>\n",
        "operationId": "GetTransactionsByHashV4",
        "parameters": [
          {
            "description": "The blockchain to work with.",
            "in": "query",
            "name": "chain",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/ChainEnumForTxnByHash"
            }
          },
          {
            "description": "Hash of the transaction.",
            "in": "query",
            "name": "hash",
            "required": true,
            "schema": {
              "type": "string",
              "example": "0xd49f8d6544f2822522886a02f4787a56ea93bbd636bfdf81d6795a10553d7118"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "description": "Selected transaction.",
                  "items": {
                    "$ref": "#/components/schemas/TxData"
                  },
                  "example": [
                    {
                      "chain": "ethereum-mainnet",
                      "hash": "0xd49f8d6544f2822522886a02f4787a56ea93bbd636bfdf81d6795a10553d7118",
                      "address": "0x9757f2d2b135150bbeb65308d4a91804107cd8d6",
                      "blockNumber": 16410533,
                      "transactionIndex": 139,
                      "transactionType": "native",
                      "transactionSubtype": "incoming",
                      "amount": "0.000000000000000039",
                      "timestamp": 1673765531000,
                      "counterAddress": "0x47405b78a7f381842c4f3d6b2d630dc390f3de9f"
                    },
                    {
                      "chain": "ethereum-mainnet",
                      "hash": "0xd49f8d6544f2822522886a02f4787a56ea93bbd636bfdf81d6795a10553d7118",
                      "address": "0x47405b78a7f381842c4f3d6b2d630dc390f3de9f",
                      "blockNumber": 16410533,
                      "transactionIndex": 139,
                      "transactionType": "native",
                      "transactionSubtype": "outgoing",
                      "amount": "-0.000000000000000039",
                      "timestamp": 1673765531000,
                      "counterAddress": "0x9757f2d2b135150bbeb65308d4a91804107cd8d6"
                    }
                  ]
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          }
        },
        "security": [
          {
            "X-API-Key": []
          }
        ],
        "x-codeSamples": [],
        "summary": "Get transactions by hash",
        "tags": [
          "Transactions API"
        ]
      }
    }
  },
  "components": {
    "securitySchemes": {
      "X-API-Key": {
        "type": "apiKey",
        "name": "x-api-key",
        "in": "header",
        "description": "Your **API key** is used to identify your account & your plan, including the number of API calls per second and total monthly calls you have.\n\nEach key is for individual use only.\n\nIf you don't have a key already you can [Sign up for a Free Tatum account](https://co.tatum.io/signup) to get two keys (testnet and mainnet), allowing up to 5 API calls per second and 1,000,000 Credits.\n\nFor testing purposes, you can use the following key which only works inside docs and has limited functionality (e.g. you cannot create virtual accounts or notification subscriptions with it):\n* t-66a730ccccfd17001c479705-2f597d14ad7543f289a03418\n\nFor more details on limits and plans, [click here](https://docs.tatum.io/docs/plans-limits).\n"
      }
    },
    "responses": {
      "Error400": {
        "description": "Bad Request",
        "content": {
          "application/json": {
            "schema": {
              "properties": {
                "errorCode": {
                  "example": "validation.failed",
                  "description": "validation.failed",
                  "type": "string"
                },
                "message": {
                  "example": "Request validation failed. Please see data for additional information.",
                  "description": "Request validation failed. Please see data for additional information.",
                  "type": "string"
                },
                "statusCode": {
                  "example": 400,
                  "description": "400",
                  "type": "number"
                },
                "data": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "required": [
                      "target"
                    ],
                    "properties": {
                      "target": {
                        "type": "object",
                        "additionalProperties": true,
                        "description": "Request object present in the body of the HTTP request",
                        "example": {
                          "property": 12345
                        }
                      },
                      "value": {
                        "type": "number",
                        "description": "Value of the target object which validation is wrong. Can be of any data type, example here is using type number.",
                        "example": 12345
                      },
                      "property": {
                        "type": "string",
                        "description": "Property name of the target object which validation is wrong",
                        "example": "property1"
                      },
                      "constraints": {
                        "type": "object",
                        "additionalProperties": true,
                        "description": "Object of failed constraints for the target object. Key is the constraint, value is detailed description of the failed constraint.",
                        "example": {
                          "min": "property1 must not be less than 50000"
                        }
                      }
                    }
                  }
                }
              },
              "required": [
                "errorCode",
                "message",
                "statusCode",
                "data"
              ],
              "type": "object"
            }
          }
        }
      },
      "Error401": {
        "description": "Unauthorized. Not valid or inactive subscription key present in the HTTP Header.",
        "content": {
          "application/json": {
            "schema": {
              "oneOf": [
                {
                  "properties": {
                    "errorCode": {
                      "example": "subscription.not.active",
                      "description": "subscription.not.active",
                      "type": "string"
                    },
                    "message": {
                      "example": "Subscription not active anymore.",
                      "description": "Subscription not active anymore.",
                      "type": "string"
                    },
                    "statusCode": {
                      "example": 401,
                      "description": "401",
                      "type": "number"
                    }
                  },
                  "required": [
                    "errorCode",
                    "message",
                    "statusCode"
                  ],
                  "type": "object"
                },
                {
                  "properties": {
                    "errorCode": {
                      "example": "subscription.invalid",
                      "description": "subscription.invalid",
                      "type": "string"
                    },
                    "message": {
                      "example": "Unable to find valid subscription for '${apiKey}'",
                      "description": "Unable to find valid subscription for '${apiKey}'",
                      "type": "string"
                    },
                    "statusCode": {
                      "example": 401,
                      "description": "401",
                      "type": "number"
                    }
                  },
                  "required": [
                    "errorCode",
                    "message",
                    "statusCode"
                  ],
                  "type": "object"
                }
              ]
            }
          }
        }
      },
      "Error403": {
        "description": "Forbidden. The request is authenticated, but it is not possible to perform the operation due to logical error or invalid permissions.",
        "content": {
          "application/json": {
            "schema": {
              "properties": {
                "message": {
                  "example": "Forbidden",
                  "description": "Forbidden",
                  "type": "string"
                },
                "statusCode": {
                  "example": 403,
                  "description": "403",
                  "type": "number"
                }
              },
              "required": [
                "statusCode",
                "message"
              ],
              "type": "object"
            }
          }
        }
      },
      "Error500": {
        "description": "Internal server error. There was an error on the server during the processing of the request.",
        "content": {
          "application/json": {
            "schema": {
              "properties": {
                "message": {
                  "example": "Internal server error",
                  "description": "Internal server error",
                  "type": "string"
                },
                "statusCode": {
                  "example": 500,
                  "description": "500",
                  "type": "number"
                }
              },
              "required": [
                "statusCode",
                "message"
              ],
              "type": "object"
            }
          }
        }
      }
    },
    "schemas": {
      "TxData": {
        "type": "object",
        "properties": {
          "chain": {
            "$ref": "#/components/schemas/ChainEnum"
          },
          "hash": {
            "type": "string",
            "description": "The transaction hash.",
            "example": "0x549447710026cef714da21fb29cbfae1f689bd3246f2fa0a5081149c4aeb3bb3"
          },
          "address": {
            "type": "string",
            "description": "The address involved in the transaction.",
            "example": "0xdef1c0ded9bec7f1a1670819833240f027b25eff"
          },
          "counterAddress": {
            "type": "string",
            "description": "The counter address involved in the transaction (optional).",
            "example": "0x0d4a11d5eeaac28ec3f61d100daf4d40471f1852"
          },
          "tokenAddress": {
            "type": "string",
            "description": "The token address involved in the transaction (optional).",
            "example": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"
          },
          "tokenId": {
            "type": "string",
            "description": "The ID of the token involved in the transaction (optional).",
            "example": 33
          },
          "blockNumber": {
            "type": "number",
            "description": "The block number in which the transaction occurred.",
            "example": 16819465
          },
          "transactionIndex": {
            "type": "number",
            "description": "The transaction index within the block.",
            "example": 84
          },
          "transactionType": {
            "$ref": "#/components/schemas/TxType"
          },
          "transactionSubtype": {
            "$ref": "#/components/schemas/TxSubtype"
          },
          "amount": {
            "type": "string",
            "description": "The amount transferred in the transaction.",
            "example": 0.9909237063720822
          },
          "timestamp": {
            "type": "number",
            "description": "The timestamp when the transaction occurred.",
            "example": 1678715303000
          }
        }
      },
      "TxType": {
        "type": "string",
        "description": "The type of the transaction.",
        "enum": [
          "fungible",
          "nft",
          "multitoken",
          "native"
        ]
      },
      "TxSubtype": {
        "type": "string",
        "description": "The subtype of the transaction.",
        "enum": [
          "incoming",
          "outgoing",
          "zero-transfer"
        ]
      },
      "ChainEnum": {
        "type": "string",
        "example": "ethereum-mainnet",
        "enum": [
          "ethereum-mainnet",
          "ethereum-sepolia",
          "bsc-mainnet",
          "bsc-testnet",
          "polygon-mainnet",
          "celo-mainnet",
          "celo-testnet",
          "chiliz-mainnet"
        ]
      },
      "ChainEnumForTxnByHash": {
        "type": "string",
        "example": "ethereum-mainnet",
        "enum": [
          "ethereum-mainnet",
          "ethereum-sepolia",
          "base-mainnet",
          "base-sepolia",
          "arb-one-mainnet",
          "arb-testnet",
          "bsc-mainnet",
          "bsc-testnet",
          "polygon-mainnet",
          "optimism-mainnet",
          "optimism-testnet",
          "berachain-mainnet",
          "unichain-mainnet",
          "unichain-sepolia",
          "monad-mainnet",
          "monad-testnet",
          "robinhood-mainnet",
          "robinhood-testnet",
          "celo-mainnet",
          "celo-testnet",
          "chiliz-mainnet",
          "tezos-mainnet",
          "avax-mainnet",
          "avax-testnet",
          "gno-mainnet",
          "gno-testnet",
          "zksync-mainnet",
          "zksync-testnet",
          "rsk-mainnet",
          "rsk-testnet",
          "ethereum-classic-mainnet",
          "ethereum-classic-testnet",
          "lisk-mainnet",
          "lisk-testnet",
          "xdc-mainnet",
          "xdc-testnet",
          "sonic-mainnet",
          "sonic-blaze"
        ]
      }
    }
  }
}
```