---
title: "GET /v1/{chainName}/transaction_v2/{txHash}/"
method: GET
path: "/v1/{chainName}/transaction_v2/{txHash}/"
tags: ["get-a-transaction"]
---

# GET /v1/{chainName}/transaction_v2/{txHash}/

`GET /v1/{chainName}/transaction_v2/{txHash}/`

Used to fetch and render a single transaction including its decoded event logs. For foundational chains, can also retrieve internal transactions, state changes and method ID where available.

## Path parameters

- `chainName` string, required
- `txHash` string, required

## Query parameters

- `quote-currency` string
- `no-logs` boolean
- `with-internal` boolean

## Response `200`

Successful response

- object
  - `updated_at` string, date-time — The timestamp when the response was generated. Useful to show data staleness to users.
  - `chain_id` integer — The requested chain ID eg: `1`.
  - `chain_name` string — The requested chain name eg: `eth-mainnet`.
  - `chain_tip_height` integer — The latest block height of the blockchain at the time this response was provided.
  - `chain_tip_signed_at` string, date-time — The timestamp of the latest signed block at the time this response was provided.
  - `items` object[] — List of response items.
    - `block_signed_at` string, date-time — The block signed timestamp in UTC.
    - `block_height` integer — The height of the block.
    - `block_hash` string — The hash of the block. Use it to remove transactions from re-org-ed blocks.
    - `tx_hash` string — The requested transaction hash.
    - `tx_offset` integer — The offset is the position of the tx in the block.
    - `successful` boolean — Indicates whether a transaction failed or succeeded.
    - `from_address` string — The sender's wallet address.
    - `miner_address` string — The address of the miner.
    - `to_address` string — The receiver's wallet address.
    - `value` string — b;The value attached to this tx.
    - `value_quote` number, double — The value attached in `quote-currency` to this tx.
    - `pretty_value_quote` string — A prettier version of the quote for rendering purposes.
    - `gas_metadata` object — The requested chain native gas token metadata.
      - `contract_decimals` integer — Use contract decimals to format the token balance for display purposes - divide the balance by `10^{contract_decimals}`.
      - `contract_name` string — The string returned by the `name()` method.
      - `contract_ticker_symbol` string — The ticker symbol for this contract. This field is set by a developer and non-unique across a network.
      - `contract_address` string — Use the relevant `contract_address` to lookup prices, logos, token transfers, etc.
      - `supports_erc` string[] — A list of supported standard ERC interfaces, eg: `ERC20` and `ERC721`.
      - `logo_url` string — The contract logo URL.
    - `gas_offered` integer
    - `gas_spent` integer — The gas spent for this tx.
    - `gas_price` integer — The gas price at the time of this tx.
    - `fees_paid` string — b;The total transaction fees (`gas_price` * `gas_spent`) paid for this tx, denoted in wei.
    - `gas_quote` number, double — The gas spent in `quote-currency` denomination.
    - `pretty_gas_quote` string — A prettier version of the quote for rendering purposes.
    - `gas_quote_rate` number, double — The native gas exchange rate for the requested `quote-currency`.
    - `explorers` object[] — The explorer links for this transaction.
      - `label` string — The name of the explorer.
      - `url` string — The URL of the explorer.
    - `log_events` object[] — The log events.
      - `block_signed_at` string, date-time — The block signed timestamp in UTC.
      - `block_height` integer — The height of the block.
      - `tx_offset` integer — The offset is the position of the tx in the block.
      - `log_offset` integer — The offset is the position of the log entry within an event log.
      - `tx_hash` string — The requested transaction hash.
      - `raw_log_topics` string[] — The log topics in raw data.
      - `sender_contract_decimals` integer — Use contract decimals to format the token balance for display purposes - divide the balance by `10^{contract_decimals}`.
      - `sender_name` string — The name of the sender.
      - `sender_contract_ticker_symbol` string
      - `sender_address` string — The address of the sender.
      - `sender_logo_url` string — The contract logo URL.
      - `supports_erc` string[] — A list of supported standard ERC interfaces, eg: `ERC20` and `ERC721`.
      - `sender_factory_address` string — The address of the deployed UniswapV2 like factory contract for this DEX.
      - `raw_log_data` string — The log events in raw.
      - `decoded` object — The decoded item.
        - `name` string
        - `signature` string
        - `params` object[]
          - `name` string
          - `type` string
          - `indexed` boolean
          - `decoded` boolean
          - `value` string
    - `internal_transfers` object[] — List of internal transfers/transactions associated with the wallet address.
      - `from_address` string — The contract address sending the native token.
      - `to_address` string — The internal transfer recipient wallet address.
      - `value` string — b;The value of the internal transfer in wei.
      - `gas_limit` integer — The gas available from the parent transaction or contract call.

---

[API](https://skmtc.net/covalenthq/apis/goldrush-multichain-data-apis.md) · [All operations](https://skmtc.net/covalenthq/apis/goldrush-multichain-data-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/covalenthq/goldrush-multichain-data-apis/revisions/c099830c76a0/schema)
