Docs

eth_getTransactionByHash - Blast RPC Method

Retrieve transaction details by hash on Blast. Essential for DeFi developers, yield protocol builders, and teams building passive-income dApps tracking transactions on the only Ethereum L2 with native yield—4% for ETH and 5%+ for stablecoins automatically.

Returns the information about a transaction by transaction hash on Blast.

Why Blast? Build on the only Ethereum L2 with native yield—4% for ETH and 5%+ for stablecoins automatically with $2.5B+ TVL, auto-rebasing ETH and USDB, gas revenue sharing for developers, and Blur-backed ecosystem.

Use Cases

The eth_getTransactionByHash method is essential for:

  • Transaction tracking - Get details of pending or confirmed transactions
  • Payment verification - Verify transaction parameters
  • Debugging - Analyze transaction data for yield-generating dApps, DeFi protocols with built-in returns, and gas-subsidized applications
  • Block explorers - Display transaction information

Code Examples

Error Handling

Error CodeMessageDescription
-32602Invalid paramsInvalid transaction hash format