getGasPrice
Retrieve the current gas price for Ethereum transactions using chain ID or custom RPC provider. Simplify gas fee estimation for sending transactions or deploying contracts.
Instructions
Get the current gas price
Input Schema
Name | Required | Description | Default |
---|---|---|---|
chainId | No | Optional. The chain ID to use. If provided with a named network and they don't match, the RPC's chain ID will be used. | |
provider | No | Optional. Either a network name or custom RPC URL. Use getSupportedNetworks to get a list of supported networks. |
Input Schema (JSON Schema)
You must be authenticated.
Other Tools from MCP Ethers Wallet
- checkWalletExists
- contractCall
- contractCallView
- contractCallWithEstimate
- contractCallWithOverrides
- contractEvents
- contractSendTransaction
- contractSendTransactionWithEstimate
- contractSendTransactionWithOverrides
- formatEther
- formatUnits
- getBlockDetails
- getBlockNumber
- getContractCode
- getERC20Balance
- getFeeData
- getGasPrice
- getSupportedNetworks
- getTransactionDetails
- getTransactionsByBlock
- getWalletBalance
- getWalletTransactionCount
- lookupAddress
- parseEther
- parseUnits
- queryLogs
- resolveName
- sendRawTransaction
- sendTransaction
- sendTransactionWithOptions
- signMessage
Related Tools
- @crazyrabbitLTC/mcp-ethers-server
- @NaniDAO/agentek
- @NaniDAO/agentek
- @dcSpark/mcp-cryptowallet-evm
- @dcSpark/mcp-cryptowallet-evm