null for unknown transactions.
Parameters
The 32-byte transaction hash.
Returns
A transaction object, or
null if the transaction was not found.Returns a transaction by its hash.
null for unknown transactions.
null if the transaction was not found.Show Transaction fields
null if pending.null if pending.null if pending.null for contract deployments.0x2 transactions only.0x2 transactions only."0x" for plain ETH transfers."0x0" Legacy, "0x1" Access List, "0x2" EIP-1559, "0x7e" Deposit (L1→L2)."0x2105" for Base Mainnet, "0x14a34" for Base Sepolia.0x1 and 0x2 transactions.{
"jsonrpc": "2.0",
"method": "eth_getTransactionByHash",
"params": ["0xb903239f8543d04b5dc1ba6579132b143087c68db1b2168786408fcbce568238"],
"id": 1
}
Was this page helpful?