Quicknode RPC icon

Quicknode RPC

Interact with blockchain via Quicknode RPC

Get Transaction

AI-generated

Summary

Fetches transaction details from an Ethereum network using Quicknode.

Inputs

  • txHash (required) — The transaction hash (66 characters starting with 0x).

Output shape

A single JSON object per input item containing the raw transaction data and metadata.

The raw transaction data includes block number, gas, value, input data, and other fields returned by eth_getTransactionByHash. The result includes a 'network' field indicating the connected Quicknode network.

Examples

Example 1: Inspect the details of a specific transaction to check gas usage and input data.

Set txHash to the transaction hash (e.g., 0x1234...).

Example 2: Verify a transaction's inclusion in a specific block.

Set txHash to the transaction hash (e.g., 0xabcd...).

Links

Discussion