{
  "x402Version": 2,
  "id": 37927,
  "slug": "37927",
  "resource": "https://api.teardrop.dev/tools/mcp#get_gas_price",
  "description": "Teardrop get_gas_price: Get current EIP-1559 gas fees on Ethereum or Base: base fee, priority fee, next-block base fee estimate, and congestion (gas_used_ratio >0.5 busy, >0.9 very congested). Optional USD estimates cover a simple transfer and a swap-like transaction. Cached 10 seconds per chain.",
  "type": "http",
  "resourceType": "MCP Tool",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xF2Eec9De86274913F85A8aA6427Ad65a9B0bC90a",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "base_fee_gwei": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "chain_id": {
            "type": "integer"
          },
          "estimated_swap_cost_usd": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "estimated_transfer_cost_usd": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "eth_price_usd": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "gas_price_gwei": {
            "type": "string"
          },
          "gas_used_ratio": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "next_base_fee_gwei": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "priority_fee_gwei": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "chain_id",
          "gas_price_gwei",
          "base_fee_gwei",
          "priority_fee_gwei",
          "next_base_fee_gwei",
          "gas_used_ratio"
        ],
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "description": "Get current EIP-1559 gas fees on Ethereum or Base: base fee, priority fee, next-block base fee estimate, and congestion (gas_used_ratio >0.5 busy, >0.9 very congested). Optional USD estimates cover a simple transfer and a swap-like transaction. Cached 10 seconds per chain.",
          "inputSchema": {
            "properties": {
              "chain_id": {
                "default": 1,
                "description": "Chain ID (1=Ethereum, 8453=Base)",
                "title": "Chain Id",
                "type": "integer"
              },
              "include_usd_estimate": {
                "default": false,
                "description": "If true, include ETH spot price and rough USD cost estimates for a simple transfer (21k gas) and a swap-like transaction (150k gas).",
                "title": "Include Usd Estimate",
                "type": "boolean"
              }
            },
            "title": "GetGasPriceInput",
            "type": "object"
          },
          "toolName": "get_gas_price",
          "transport": "streamable-http",
          "type": "mcp"
        },
        "output": {
          "example": {
            "base_fee_gwei": "",
            "chain_id": 0,
            "gas_price_gwei": "",
            "gas_used_ratio": 0,
            "next_base_fee_gwei": "",
            "priority_fee_gwei": ""
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "description": {
                "type": "string"
              },
              "inputSchema": {
                "type": "object"
              },
              "toolName": {
                "type": "string"
              },
              "transport": {
                "enum": [
                  "streamable-http",
                  "sse"
                ],
                "type": "string"
              },
              "type": {
                "const": "mcp",
                "type": "string"
              }
            },
            "required": [
              "type",
              "toolName",
              "inputSchema"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "base_fee_gwei": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "chain_id": {
                    "type": "integer"
                  },
                  "estimated_swap_cost_usd": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "estimated_transfer_cost_usd": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "eth_price_usd": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "gas_price_gwei": {
                    "type": "string"
                  },
                  "gas_used_ratio": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "next_base_fee_gwei": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "priority_fee_gwei": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "chain_id",
                  "gas_price_gwei",
                  "base_fee_gwei",
                  "priority_fee_gwei",
                  "next_base_fee_gwei",
                  "gas_used_ratio"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "api.teardrop.dev",
  "lastUpdated": "2026-10-08T00:42:57.213Z",
  "quality": {
    "calls30d": 0,
    "uniquePayers30d": 0,
    "lastCalledAt": "2026-10-05T01:31:13.861Z"
  },
  "metadata": {
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "description": "Get current EIP-1559 gas fees on Ethereum or Base: base fee, priority fee, next-block base fee estimate, and congestion (gas_used_ratio >0.5 busy, >0.9 very congested). Optional USD estimates cover a simple transfer and a swap-like transaction. Cached 10 seconds per chain.",
            "inputSchema": {
              "properties": {
                "chain_id": {
                  "default": 1,
                  "description": "Chain ID (1=Ethereum, 8453=Base)",
                  "title": "Chain Id",
                  "type": "integer"
                },
                "include_usd_estimate": {
                  "default": false,
                  "description": "If true, include ETH spot price and rough USD cost estimates for a simple transfer (21k gas) and a swap-like transaction (150k gas).",
                  "title": "Include Usd Estimate",
                  "type": "boolean"
                }
              },
              "title": "GetGasPriceInput",
              "type": "object"
            },
            "toolName": "get_gas_price",
            "transport": "streamable-http",
            "type": "mcp"
          },
          "output": {
            "example": {
              "base_fee_gwei": "",
              "chain_id": 0,
              "gas_price_gwei": "",
              "gas_used_ratio": 0,
              "next_base_fee_gwei": "",
              "priority_fee_gwei": ""
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "description": {
                  "type": "string"
                },
                "inputSchema": {
                  "type": "object"
                },
                "toolName": {
                  "type": "string"
                },
                "transport": {
                  "enum": [
                    "streamable-http",
                    "sse"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "mcp",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "toolName",
                "inputSchema"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "properties": {
                    "base_fee_gwei": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "chain_id": {
                      "type": "integer"
                    },
                    "estimated_swap_cost_usd": {
                      "anyOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null
                    },
                    "estimated_transfer_cost_usd": {
                      "anyOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null
                    },
                    "eth_price_usd": {
                      "anyOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null
                    },
                    "gas_price_gwei": {
                      "type": "string"
                    },
                    "gas_used_ratio": {
                      "anyOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "next_base_fee_gwei": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "priority_fee_gwei": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "chain_id",
                    "gas_price_gwei",
                    "base_fee_gwei",
                    "priority_fee_gwei",
                    "next_base_fee_gwei",
                    "gas_used_ratio"
                  ],
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.teardrop.dev",
    "manifest_name": "api.teardrop.dev",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {
      "base_fee_gwei": null,
      "chain_id": 0,
      "estimated_swap_cost_usd": null,
      "estimated_transfer_cost_usd": null,
      "eth_price_usd": null,
      "gas_price_gwei": "string",
      "gas_used_ratio": null,
      "next_base_fee_gwei": null,
      "priority_fee_gwei": null
    },
    "type": "string"
  }
}