Actions53
- Account Actions
- Block Actions
- Transaction Actions
- Contract Actions
- ERC20 Actions
- ERC721 Actions
- ERC1155 Actions
- Gas Actions
- Signature Actions
- Utils Actions
- Custom RPC Actions
Transaction → Estimate Gas
AI-generatedSummary
Estimate the gas limit for a transaction.
Inputs
- to (required) — To address for the transaction.
- value — Amount of ETH to send (e.g., "0.1" for 0.1 ETH).
- data — Transaction data (optional).
Output shape
a single numeric gas estimate (as a hex string)
Returned as a string; may be omitted on error.
Examples
Example 1: Estimate gas for a simple ETH transfer
to: 0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb; value: 0.1; data: ''