Docs

eth_getTransactionByHash - Celo RPC Method

Retrieve transaction details by hash on Celo. Essential for mobile payment developers, fintech builders, and teams targeting emerging markets tracking transactions on the mobile-first L2 powering 500K+ daily active users and $2B+ monthly stablecoin volume.

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

Why Celo? Build on the mobile-first L2 powering 500K+ daily active users and $2B+ monthly stablecoin volume with phone number-based addressing, sub-cent fees, 150+ country adoption, Nightfall privacy layer, and Opera browser 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 mobile stablecoin payments (MiniPay 10M+ wallets), remittances, humanitarian aid, and local currency stablecoins (cUSD, cNGN, cEUR)
  • Block explorers - Display transaction information

Code Examples

Error Handling

Error CodeMessageDescription
-32602Invalid paramsInvalid transaction hash format