Docs

eth_getTransactionByHash - Boba Network RPC Method

Retrieve transaction details by hash on Boba Network. Essential for AI dApp developers, enterprise integration teams, and builders requiring offchain compute access tracking transactions on the Hybrid Compute L2 enabling smart contracts to access AI models and Web2 APIs natively.

Returns the information about a transaction by transaction hash on Boba Network.

Why Boba Network? Build on the Hybrid Compute L2 enabling smart contracts to access AI models and Web2 APIs natively with HybridCompute 2.0 for native AI/API access, $70M ecosystem funding, OP Stack compatibility, and two-way offchain integration.

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 AI-powered dApps, Web2 API integration, enterprise blockchain solutions, and offchain computation
  • Block explorers - Display transaction information

Code Examples

Error Handling

Error CodeMessageDescription
-32602Invalid paramsInvalid transaction hash format