getFeeData
Retrieve current network fee data on Ethereum-compatible chains by providing a chain ID or custom RPC URL. Use this tool to query gas prices and optimize transaction costs on supported networks.
Instructions
Get the current network fee data
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. |