Docs

eth_gasPrice - World Chain RPC Method

Get current gas price on World Chain. Essential for transaction cost estimation for human-verified DeFi, identity-gated applications, bot-resistant services.

Returns the current gas price on World Chain in wei.

Why World Chain? Build on the human-first Ethereum L2 powered by World ID with World ID integration for free gas and priority blockspace.

Use Cases

The eth_gasPrice method is essential for:

  • Transaction pricing - Set appropriate gas prices
  • Cost estimation - Calculate transaction costs before sending
  • Gas monitoring - Track network congestion
  • DeFi operations - Optimize costs for human-verified DeFi, identity-gated applications, bot-resistant services

Code Examples

Error Handling

Error CodeMessageDescription
-32603Internal errorNode error