{
  "x402Version": 2,
  "id": 42414,
  "slug": "42414",
  "resource": "https://x402-tools-production-2755.up.railway.app/tools/gas",
  "description": "Use before sending an EVM transaction to pick the cheapest chain and set its fees. Live gas on Ethereum, Base, Arbitrum, Optimism, Polygon and BSC: slow/standard/fast EIP-1559 fee tiers (priority fee, maxFee) from recent blocks, plus the USD cost of a transfer, ERC-20 transfer and swap per tier, cheapest chain first.",
  "type": "http",
  "serviceName": "x402 tools",
  "resourceType": "Market Data",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xef7674f50f84e9b9a89af9dc40ffea56edf67d6c",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "2000",
      "amountUsd": 0.002,
      "maxTimeoutSeconds": 120
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "chains": "base,ethereum"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "chains": [
              {
                "baseFeeGwei": 0.005,
                "chain": "base",
                "chainId": 8453,
                "costs": {
                  "erc20Transfer": {
                    "native": 3.9e-7,
                    "usd": 0.00107
                  },
                  "swap": {
                    "native": 9e-7,
                    "usd": 0.0025
                  },
                  "transfer": {
                    "native": 1.26e-7,
                    "usd": 0.00035
                  }
                },
                "gasPriceGwei": 0.006,
                "nativeSymbol": "ETH",
                "nativeUsd": 2734.49,
                "tiers": {
                  "fast": {
                    "costs": {
                      "transfer": {
                        "native": 5.6e-7,
                        "usd": 0.00152
                      }
                    },
                    "effectiveGwei": 0.0266,
                    "maxFeeGwei": 0.0316,
                    "priorityFeeGwei": 0.0216
                  },
                  "slow": {
                    "costs": {
                      "transfer": {
                        "native": 1.05e-7,
                        "usd": 0.00029
                      }
                    },
                    "effectiveGwei": 0.005,
                    "maxFeeGwei": 0.01,
                    "priorityFeeGwei": 0
                  },
                  "standard": {
                    "costs": {
                      "transfer": {
                        "native": 1.26e-7,
                        "usd": 0.00035
                      }
                    },
                    "effectiveGwei": 0.006,
                    "maxFeeGwei": 0.011,
                    "priorityFeeGwei": 0.001
                  }
                }
              }
            ],
            "gasUsed": {
              "erc20Transfer": 65000,
              "swap": 150000,
              "transfer": 21000
            }
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {
                  "chains": {
                    "description": "Comma-separated subset of: ethereum, base, arbitrum, optimism, polygon, bsc. Default: all",
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "x402-tools-production-2755.up.railway.app",
  "lastUpdated": "2026-10-08T11:56:02.302Z",
  "quality": {
    "calls30d": 5,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-10-08T11:56:02.087Z"
  },
  "metadata": {
    "serviceName": "x402 tools",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "method": "GET",
            "queryParams": {
              "chains": "base,ethereum"
            },
            "type": "http"
          },
          "output": {
            "example": {
              "chains": [
                {
                  "baseFeeGwei": 0.005,
                  "chain": "base",
                  "chainId": 8453,
                  "costs": {
                    "erc20Transfer": {
                      "native": 3.9e-7,
                      "usd": 0.00107
                    },
                    "swap": {
                      "native": 9e-7,
                      "usd": 0.0025
                    },
                    "transfer": {
                      "native": 1.26e-7,
                      "usd": 0.00035
                    }
                  },
                  "gasPriceGwei": 0.006,
                  "nativeSymbol": "ETH",
                  "nativeUsd": 2734.49,
                  "tiers": {
                    "fast": {
                      "costs": {
                        "transfer": {
                          "native": 5.6e-7,
                          "usd": 0.00152
                        }
                      },
                      "effectiveGwei": 0.0266,
                      "maxFeeGwei": 0.0316,
                      "priorityFeeGwei": 0.0216
                    },
                    "slow": {
                      "costs": {
                        "transfer": {
                          "native": 1.05e-7,
                          "usd": 0.00029
                        }
                      },
                      "effectiveGwei": 0.005,
                      "maxFeeGwei": 0.01,
                      "priorityFeeGwei": 0
                    },
                    "standard": {
                      "costs": {
                        "transfer": {
                          "native": 1.26e-7,
                          "usd": 0.00035
                        }
                      },
                      "effectiveGwei": 0.006,
                      "maxFeeGwei": 0.011,
                      "priorityFeeGwei": 0.001
                    }
                  }
                }
              ],
              "gasUsed": {
                "erc20Transfer": 65000,
                "swap": 150000,
                "transfer": 21000
              }
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "method": {
                  "enum": [
                    "GET"
                  ],
                  "type": "string"
                },
                "queryParams": {
                  "properties": {
                    "chains": {
                      "description": "Comma-separated subset of: ethereum, base, arbitrum, optimism, polygon, bsc. Default: all",
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "x402-tools-production-2755.up.railway.app",
    "manifest_name": "x402-tools-production-2755.up.railway.app",
    "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": {},
    "type": "string"
  }
}