Skip to main content

eth_gasPrice RPC Method

Loading...

Updated on
Apr 30, 2025

eth_gasPrice RPC Method

Parameters

This method does not accept any parameters

Returns

result
Loading...
Request
1
curl https://docs-demo.quiknode.pro/ \
2
-X POST \
3
-H "Content-Type: application/json" \
4
--data '{"method":"eth_gasPrice","params":[],"id":1,"jsonrpc":"2.0"}'
Response
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": "0x198542e9"
5
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free