{
  "x402Version": 2,
  "id": 26927,
  "slug": "26927",
  "resource": "https://chain.cyberwarex.com/gas",
  "description": "Live gas market on any major EVM chain: current gas price, base fee and priority-fee percentiles (p25/p50/p75) in gwei, plus the estimated cost in native token and USD for a plain transfer (21k gas) and a typical DEX swap (200k gas). Lets an agent decide whether a transaction is worth sending right now or should wait for cheaper gas, and budget the fee before signing.",
  "type": "http",
  "serviceName": "Onchain Query API",
  "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1787649784/bazaar-icons/f98489fd044477d5.png",
  "resourceType": "Beauty & Personal Care",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x058D0Cc5CC97e61e8A9f38D6d6365bce525921B2",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "2000",
      "amountUsd": 0.002,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "base_fee_gwei": {
            "type": [
              "number",
              "null"
            ]
          },
          "chain": {
            "type": "string"
          },
          "est_cost": {
            "description": "Estimated native + USD cost for transfer_21k and swap_200k.",
            "type": "object"
          },
          "gas_price_gwei": {
            "type": "number"
          },
          "native": {
            "type": "string"
          },
          "native_usd": {
            "type": [
              "number",
              "null"
            ]
          },
          "priority_fee_gwei": {
            "description": "Priority fee percentiles p25/p50/p75 in gwei.",
            "type": [
              "object",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "chain": "base"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "base_fee_gwei": 0.004119,
            "chain": "base",
            "est_cost": {
              "swap_200k": {
                "native": 0.000001127,
                "usd": 0.003599
              },
              "transfer_21k": {
                "native": 1.18e-7,
                "usd": 0.000377
              }
            },
            "gas_price_gwei": 0.008312,
            "native": "ETH",
            "native_usd": 3194.51,
            "priority_fee_gwei": {
              "p25": 0.001,
              "p50": 0.0015,
              "p75": 0.0031
            }
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET",
                  "HEAD",
                  "DELETE"
                ],
                "type": "string"
              },
              "queryParams": {
                "additionalProperties": false,
                "properties": {
                  "chain": {
                    "default": "base",
                    "description": "EVM chain to query.",
                    "enum": [
                      "base",
                      "ethereum",
                      "arbitrum",
                      "optimism",
                      "polygon"
                    ],
                    "type": "string"
                  }
                },
                "required": [],
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "base_fee_gwei": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "chain": {
                    "type": "string"
                  },
                  "est_cost": {
                    "description": "Estimated native + USD cost for transfer_21k and swap_200k.",
                    "type": "object"
                  },
                  "gas_price_gwei": {
                    "type": "number"
                  },
                  "native": {
                    "type": "string"
                  },
                  "native_usd": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "priority_fee_gwei": {
                    "description": "Priority fee percentiles p25/p50/p75 in gwei.",
                    "type": [
                      "object",
                      "null"
                    ]
                  }
                },
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "gas",
    "gas-fees",
    "evm",
    "blockchain",
    "transaction-cost",
    "bazaar"
  ],
  "sourceHost": "chain.cyberwarex.com",
  "lastUpdated": "2026-10-08T05:32:34.655Z",
  "quality": {
    "calls30d": 4,
    "uniquePayers30d": 4,
    "lastCalledAt": "2026-10-08T05:32:34.167Z"
  },
  "metadata": {
    "serviceName": "Onchain Query API",
    "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1787649784/bazaar-icons/f98489fd044477d5.png",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "method": "GET",
            "queryParams": {
              "chain": "base"
            },
            "type": "http"
          },
          "output": {
            "example": {
              "base_fee_gwei": 0.004119,
              "chain": "base",
              "est_cost": {
                "swap_200k": {
                  "native": 0.000001127,
                  "usd": 0.003599
                },
                "transfer_21k": {
                  "native": 1.18e-7,
                  "usd": 0.000377
                }
              },
              "gas_price_gwei": 0.008312,
              "native": "ETH",
              "native_usd": 3194.51,
              "priority_fee_gwei": {
                "p25": 0.001,
                "p50": 0.0015,
                "p75": 0.0031
              }
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "method": {
                  "enum": [
                    "GET",
                    "HEAD",
                    "DELETE"
                  ],
                  "type": "string"
                },
                "queryParams": {
                  "additionalProperties": false,
                  "properties": {
                    "chain": {
                      "default": "base",
                      "description": "EVM chain to query.",
                      "enum": [
                        "base",
                        "ethereum",
                        "arbitrum",
                        "optimism",
                        "polygon"
                      ],
                      "type": "string"
                    }
                  },
                  "required": [],
                  "type": "object"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "properties": {
                    "base_fee_gwei": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "chain": {
                      "type": "string"
                    },
                    "est_cost": {
                      "description": "Estimated native + USD cost for transfer_21k and swap_200k.",
                      "type": "object"
                    },
                    "gas_price_gwei": {
                      "type": "number"
                    },
                    "native": {
                      "type": "string"
                    },
                    "native_usd": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "priority_fee_gwei": {
                      "description": "Priority fee percentiles p25/p50/p75 in gwei.",
                      "type": [
                        "object",
                        "null"
                      ]
                    }
                  },
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "chain.cyberwarex.com",
    "manifest_name": "chain.cyberwarex.com",
    "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": {
    "base_fee_gwei": 0.004119,
    "chain": "base",
    "est_cost": {
      "swap_200k": {
        "native": 0.000001127,
        "usd": 0.003599
      },
      "transfer_21k": {
        "native": 1.18e-7,
        "usd": 0.000377
      }
    },
    "gas_price_gwei": 0.008312,
    "native": "ETH",
    "native_usd": 3194.51,
    "priority_fee_gwei": {
      "p25": 0.001,
      "p50": 0.0015,
      "p75": 0.0031
    }
  }
}