eth_estimateGas
Generates and returns an estimate of how much gas is necessary to allow the transaction to complete.
Returns
integer
📤 Request
curl --request POST \
--url https://testnet-rpc.monad.xyz \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '
{
"id": 0,
"jsonrpc": "2.0",
"method": "eth_estimateGas",
"params": []
}
'