Chain

Get a transaction by hash

Fetch a transaction by its 32-byte transaction hash. With ?include_logs=true, receipt event logs for this transaction are included in the response. No pagination. A hash that resolves to a block below coverage.from_block is 422 no_coverage; a hash missing from the lookup (for instance a transaction in a partition not attached yet) is 404.

get/{chain}/transactions/{hash}

Request

  • Base URL: https://api.blockvectra.com/v1/data
  • URL: https://api.blockvectra.com/v1/data/{chain}/transactions/{hash}
  • Auth: API key in header x-api-key

Path parameters

chainstring required

Chain identifier: the chain value of an entry in GET /chains (for example robinhood_mainnet), which lists every value this API accepts, i.e. the exact lowercase form of that entry's chain_slug. Matching is exact and case-sensitive; other spellings, aliases and numeric chain IDs are not accepted and return 404 not_found (unknown or not-public chain). What the chain serves differs per chain: see that entry's features and coverage.

hashstring required

32-byte hash. 0x/0X prefix optional; either hex digit case is accepted.

32-byte transaction hash, 0x prefix optional, either digit case.

Query parameters

include_logs'true' | 'false'

Strict boolean: absent defaults to false; the only accepted values are the literal strings true and false (any other value is 400 bad_request, it does not silently fall back to false). When true, adds a logs array to data.

Response

The transaction (with logs included when ?include_logs=true).

Example response

{
  "data": {
    "block_timestamp": "2026-09-26T05:41:07Z",
    "value": "9007199254740993",
    "gas_price": "9007199254740993",
    "max_fee_per_gas": "9007199254740993",
    "max_priority_fee_per_gas": "9007199254740993",
    "effective_gas_price": "9007199254740993"
  },
  "meta": {
    "chain": "robinhood_mainnet",
    "chain_slug": "ROBINHOOD_MAINNET",
    "chain_external_id": "eip155:4663",
    "refreshed_at": "2026-09-26T05:41:07Z"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.