curl --request POST \
--url https://ronin-mainnet.core.chainstack.com/3997273fc956a67dc6982384500e669e \
--header 'Content-Type: application/json' \
--data '
{
"id": 1,
"jsonrpc": "2.0",
"method": "eth_gasPrice",
"params": []
}
'{
"jsonrpc": "<string>",
"id": 123,
"result": "<string>"
}curl --request POST \
--url https://ronin-mainnet.core.chainstack.com/3997273fc956a67dc6982384500e669e \
--header 'Content-Type: application/json' \
--data '
{
"id": 1,
"jsonrpc": "2.0",
"method": "eth_gasPrice",
"params": []
}
'{
"jsonrpc": "<string>",
"id": 123,
"result": "<string>"
}eth_gasPrice method returns the current gas price on the Ronin network, expressed in wei. This value is determined by the recent costs of transactions and is used to calculate the transaction fee (gas used * gas price).
result: The current gas price in wei, returned as a hexadecimal number.Was this page helpful?