Skip to main content

eth_createAccessList

Overview

The 'eth_gasPrice' method returns price per gas in wei currently.

Request

curl --request POST \
--url https://ethereum-mainnet-geth-archive.node.coinapi.io \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--header 'X-CoinAPI-Key: 73034021-THIS-IS-SAMPLE-KEY' \
--data '
{
"id": 1,
"jsonrpc": "2.0",
"method": "eth_gasPrice"
}
'

Request Parameters

  • None.

Response

  • result: Returns integer of the current gas price in wei.