Documentation Index Fetch the complete documentation index at: https://docs.base.org/llms.txt
Use this file to discover all available pages before exploring further.
Returns information about a transaction given its hash. Returns null for unknown transactions.
Parameters
The 32-byte transaction hash.
Returns
A transaction object, or null if the transaction was not found. 32-byte transaction hash.
Number of transactions sent by the sender prior to this one (hex).
32-byte hash of the block containing this transaction. null if pending.
Block number (hex). null if pending.
Index position in the block (hex). null if pending.
20-byte recipient address. null for contract deployments.
ETH value transferred in wei (hex).
Gas provided by the sender (hex).
Gas price in wei. For EIP-1559 transactions, this is the effective gas price paid (hex).
EIP-1559 maximum total fee per gas (hex). Present for type 0x2 transactions only. Not present on type 0x7e.
EIP-1559 maximum priority fee per gas (hex). Present for type 0x2 transactions only. Not present on type 0x7e.
ABI-encoded call data. "0x" for plain ETH transfers.
Transaction type: "0x0" Legacy, "0x1" Access List, "0x2" EIP-1559, "0x7e" Deposit (L1→L2).
Chain ID the transaction is valid for. "0x2105" for Base Mainnet, "0x14a34" for Base Sepolia. Not present on type 0x7e.
List of addresses and storage keys pre-declared by the transaction (EIP-2930). Present for type 0x1 and 0x2 transactions. Not present on type 0x7e.
32-byte ECDSA signature component r (hex). Always "0x0" for type 0x7e.
32-byte ECDSA signature component s (hex). Always "0x0" for type 0x7e.
Identifies the deposit source (bytes32 hex). Present on type 0x7e only.
ETH minted on L2 as part of this deposit (hex). Usually "0x0". Present on type 0x7e only.
Version of the deposit receipt format (hex). Present on type 0x7e only.
Signature parity (hex). Always "0x0" for type 0x7e deposits.
Transaction types on Base: Base supports Ethereum-standard types (0x0 legacy, 0x1 EIP-2930, 0x2 EIP-1559) as well as OP Stack deposit transactions (0x7e). Deposit transactions are injected by the sequencer at the start of each block. Fields like maxFeePerGas, accessList, and chainId are not present on 0x7e transactions; instead they carry sourceHash, mint, depositReceiptVersion, and yParity.
Example
Request
Response (type 0x7e deposit)
Not Found
{
"jsonrpc" : "2.0" ,
"method" : "eth_getTransactionByHash" ,
"params" : [ "0x03c8f106f18ad94190e763e21b584c5825b2f4c61f1274c0e8abe65b4476cd51" ],
"id" : 1
}