Skip to main content
POST
eth_gasPrice
Tempo API method that returns the current gas price in wei. On Tempo, transaction fees are paid in TIP-20 stablecoins, not a native token. The gas price returned is used to calculate the USD-denominated fee.
Get your own node endpoint todayStart for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.

Parameters

  • none

Response

  • result — the current gas price in wei encoded as hexadecimal

eth_gasPrice code examples

Body

application/json
jsonrpc
string
default:2.0
method
string
default:eth_gasPrice
params
any[]
id
integer
default:1

Response

200 - application/json

The current gas price

jsonrpc
string
id
integer
result
string

The current gas price in wei encoded as hexadecimal

Last modified on June 25, 2026