Server Configuration
Describes the environment variables required to run the server.
Name | Required | Description | Default |
---|---|---|---|
No arguments |
Schema
Prompts
Interactive templates invoked by user choice
Name | Description |
---|---|
gas_price_query | Prompt template for querying gas prices at a specific confidence level and chain. Parameters: - confidence (int): The confidence level for gas price prediction (0-100). - chain_id (int): The ID of the blockchain network (e.g., 1 for Ethereum Mainnet). Default: 1. |
Resources
Contextual data attached and managed by the client
Name | Description |
---|---|
No resources |
Tools
Functions exposed to the LLM to take actions
Name | Description |
---|---|
predict_gas_price | Predict gas prices for a specified chain, including base fee and detailed prediction data in a Markdown table.
Parameters:
- chain_id (int): The ID of the blockchain network (e.g., 1 for Ethereum Mainnet). Default: 1.
- ctx (Optional[Context]): The MCP context object. Default: None. |
estimate_gas_cost | Estimate gas cost for a transaction based on gas limit, confidence level, and chain.
Parameters:
- gas_limit (int): The gas limit for the transaction (e.g., 21000 for a simple transfer).
- confidence (int): The confidence level for gas price prediction (0-100).
- chain_id (int): The ID of the blockchain network (e.g., 1 for Ethereum Mainnet). Default: 1.
- ctx (Optional[Context]): The MCP context object. Default: None. |
get_supported_chains | List the blockchain networks supported by the Blocknative Gas Platform, formatted as a Markdown table.
Parameters:
- ctx (Optional[Context]): The MCP context object. Default: None.
Returns:
- A Markdown table listing supported chains with their chain ID, system, and network. |