eth_estimateGas
Generates and returns an estimate of how much gas is necessary to allow the transaction to complete. The transaction will not be added to the blockchain.
Parameters
Sample Request
curl https://lb.nodies.app/v1/<INSERT URL> \
-H "x-api-key: <API-KEY>" \
-X POST \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "eth_estimateGas",
"params": [
{
"from": "0xfa0b641678F5115ad8a8De5752016bD1359681b9",
"to": "0xC08fD7DD4eA87953F466d0b848f63e72FB91501C",
"value": "0x186a0"
},
"latest"
],
"id": 1
}'Sample Response
Last updated