estimate_gas
Estimate gas needed for a transaction. Useful for dapps and wallets to show users how much gas they'll pay.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Recipient address (0x + 40 hex) | |
| from | Yes | Sender address (0x + 40 hex) | |
| value | No | ETH value to send (in wei, hex) |