Parameters
The transaction call object
Address the transaction is sent from
Address the transaction is directed to
Gas provided for execution (hex)
Method signature and encoded parameters
Block number (hex), or latest, earliest, pending, safe, finalized
Returns
Estimated gas required (hex encoded)
Example
curl -X POST "https://edge.goldsky.com/standard/evm/1?secret=YOUR_SECRET" \
-H "Content-Type: application/json" \
-d '{"jsonrpc": "2.0", "method": "eth_estimateGas", "params": [{"to": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48", "data": "0x70a08231000000000000000000000000d8da6bf26964af9d7eed9e03e53415d37aa96045"}], "id": 1}'