Docs

eth_gasPrice - Blast RPC Method

Get current gas price on Blast. Essential for transaction cost estimation for yield-generating dApps, DeFi protocols with built-in returns, and gas-subsidized applications.

Returns the current gas price on Blast in wei.

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_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 yield-generating dApps, DeFi protocols with built-in returns, and gas-subsidized applications

Code Examples

Error Handling

Error CodeMessageDescription
-32603Internal errorNode error