estimate-gas
Calculate the gas required for blockchain transactions without executing them, ensuring accurate cost estimation. Supports transactions with recipient addresses, contract calls, and gas fee parameters.
Instructions
Estimate the gas necessary to complete a transaction without submitting it to the network.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
chainId | No | Chain ID to validate against before sending transaction. | |
data | No | A contract hashed method call with encoded args. | |
maxFeePerGas | No | Total fee per gas in wei, inclusive of maxPriorityFeePerGas. | |
maxPriorityFeePerGas | No | Max priority fee per gas in wei. | |
to | Yes | The transaction recipient or contract address. | |
value | No | Value in wei sent with this transaction. |
Input Schema (JSON Schema)
You must be authenticated.
Other Tools from MetaMask MCP
- call
- deploy-contract
- disconnect
- estimate-fee-per-gas
- estimate-gas
- get-account
- get-block
- get-block-number
- get-chain-id
- get-chain-list
- get-chains
- get-connect-uri
- get-ens-address
- get-ens-name
- get-native-currency-balance
- get-token
- get-token-balance
- get-transaction
- get-transaction-receipt
- read-contract
- send-transaction
- show-connect-qrcode
- sign-message
- switch-chain
- verify-message
- wait-for-transaction-receipt
- wait-seconds
- write-contract
Related Tools
- @mcpdotdirect/evm-mcp-server
- @dcSpark/mcp-cryptowallet-evm
- @bnb-chain/bnbchain-mcp
- @NaniDAO/agentek
- @Xiawpohr/metamask-mcp