Estimate Gas

Estimate gas cost for an EVM transaction using Tenderly simulation.

Tool Name: tenderly_estimate_gas

Category Endpoint: POST /hive_security_risk/mcp

Data Source: Tenderly


Overview

This tool is documented under the Security & Risk category.

For schemas and the complete live catalog, also use:

  • GET /api/v1/tools
  • hive://tools
  • get_api_endpoint_schema from the root MCP endpoint

Quick Example

bash
curl -X POST https://mcp.hiveintelligence.xyz/api/v1/execute \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_HIVE_API_KEY" \
  -d '{
  "tool": "tenderly_estimate_gas",
  "args": {
    "network_id": "1",
    "from": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
    "to": "0x000000000000000000000000000000000000dEaD",
    "input": "0x"
  }
}'

Required fields in the current live schema: network_id, from, to, input. The example uses Ethereum mainnet ("1") and empty calldata; use the target chain ID, addresses, and calldata for the transaction you want to estimate.