For the complete documentation index, see llms.txt. This page is also available as Markdown.

Eth_gasPrice

Get Suggested Gas Price

post

Returns the current gas price in wei as a hexadecimal string. This value is a node estimate based on recent blocks and mempool activity.

Authorizations
api-keystringRequired
Body
jsonrpcstringRequired

JSON-RPC version

Example: 2.0
methodstringRequired

JSON-RPC method name

Example: eth_gasPrice
paramsarrayRequired

This method takes an empty array.

idintegerRequired

Request identifier

Example: 1
Responses
200

Suggested gas price in wei

application/json
jsonrpcstringOptional

JSON-RPC version

Example: 2.0
idintegerOptional

Same as request ID

Example: 1
resultstringOptional

Current gas price in wei, as hexadecimal. Example: "0x09184e72a000" = 10000000000000 wei (10 gwei)

Example: 0x09184e72a000
post/
200

Suggested gas price in wei

Last updated