eth_gasPrice

Network: Arbitrum Sepolia · Testnet · Chain ID 421614 (0x66eee)

Counts as 1 request. See Request Counting.

Returns the current price per gas in wei.

Parameters

None.

Returns

QUANTITY — Integer of the current gas price in wei.

Request

{ "jsonrpc": "2.0", "method": "eth_gasPrice", "params": [], "id": 1 }

Response

{ "jsonrpc": "2.0", "id": 1, "result": "0x3b9aca00" }

0x3b9aca00 = 1,000,000,000 wei = 1 Gwei

Code Examples

curl -X POST https://arbitrum-sepolia-rpc.blockreq.com/v1/rpc/public \ -H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0","method":"eth_gasPrice","params":[],"id":1}'

Try It