{
  "x402Version": 2,
  "id": 28351,
  "slug": "28351",
  "resource": "https://x402-echo-service.onrender.com/chain/gas",
  "description": "Current gas conditions on Base. POST {} and receive the legacy gas price and the EIP-1559 base fee of the latest block, in wei and gwei. Useful for agents deciding whether to transact now or wait.",
  "type": "http",
  "serviceName": "Gas Price",
  "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1787754105/bazaar-icons/222b7a4262b684da.png",
  "resourceType": "Agent Service",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x9Cc774A8eD49d89cBA1A288F4a050B8F7FbA77EE",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "1000",
      "amountUsd": 0.001,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "baseFeeGwei": {
            "type": "string"
          },
          "baseFeeWei": {
            "type": "string"
          },
          "blockNumber": {
            "type": "integer"
          },
          "gasPriceGwei": {
            "type": "string"
          },
          "gasPriceWei": {
            "type": "string"
          }
        },
        "required": [
          "gasPriceWei",
          "gasPriceGwei"
        ],
        "type": "object"
      },
      "type": {
        "const": "json"
      }
    },
    "required": [
      "type",
      "example"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "category": "Infra",
      "coverImage": "https://x402-echo-service.onrender.com/icon.png",
      "info": {
        "input": {
          "body": {},
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "baseFeeGwei": "0.004",
            "baseFeeWei": "4000000",
            "blockNumber": 50656854,
            "gasPriceGwei": "0.005",
            "gasPriceWei": "5000000"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json"
                ]
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http"
              }
            },
            "required": [
              "type",
              "bodyType",
              "body",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "baseFeeGwei": {
                    "type": "string"
                  },
                  "baseFeeWei": {
                    "type": "string"
                  },
                  "blockNumber": {
                    "type": "integer"
                  },
                  "gasPriceGwei": {
                    "type": "string"
                  },
                  "gasPriceWei": {
                    "type": "string"
                  }
                },
                "required": [
                  "gasPriceWei",
                  "gasPriceGwei"
                ],
                "type": "object"
              },
              "type": {
                "const": "json"
              }
            },
            "required": [
              "type",
              "example"
            ],
            "type": "object"
          }
        },
        "required": [
          "input",
          "output"
        ],
        "type": "object"
      },
      "serviceName": "Gas Price",
      "summary": "Current Base gas price and EIP-1559 base fee.",
      "tags": [
        "gas",
        "fees",
        "base",
        "eip1559",
        "onchain"
      ]
    }
  },
  "tags": [
    "gas",
    "fees",
    "base",
    "eip1559",
    "onchain",
    "bazaar"
  ],
  "sourceHost": "x402-echo-service.onrender.com",
  "lastUpdated": "2026-10-09T11:44:40.395Z",
  "quality": {
    "calls30d": 4,
    "uniquePayers30d": 4,
    "lastCalledAt": "2026-10-09T11:44:40.23Z"
  },
  "metadata": {
    "serviceName": "Gas Price",
    "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1787754105/bazaar-icons/222b7a4262b684da.png",
    "extensions": {
      "bazaar": {
        "category": "Infra",
        "coverImage": "https://x402-echo-service.onrender.com/icon.png",
        "info": {
          "input": {
            "body": {},
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "baseFeeGwei": "0.004",
              "baseFeeWei": "4000000",
              "blockNumber": 50656854,
              "gasPriceGwei": "0.005",
              "gasPriceWei": "5000000"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {},
                  "type": "object"
                },
                "bodyType": {
                  "enum": [
                    "json"
                  ]
                },
                "method": {
                  "enum": [
                    "POST"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http"
                }
              },
              "required": [
                "type",
                "bodyType",
                "body",
                "method"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "properties": {
                    "baseFeeGwei": {
                      "type": "string"
                    },
                    "baseFeeWei": {
                      "type": "string"
                    },
                    "blockNumber": {
                      "type": "integer"
                    },
                    "gasPriceGwei": {
                      "type": "string"
                    },
                    "gasPriceWei": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "gasPriceWei",
                    "gasPriceGwei"
                  ],
                  "type": "object"
                },
                "type": {
                  "const": "json"
                }
              },
              "required": [
                "type",
                "example"
              ],
              "type": "object"
            }
          },
          "required": [
            "input",
            "output"
          ],
          "type": "object"
        },
        "serviceName": "Gas Price",
        "summary": "Current Base gas price and EIP-1559 base fee.",
        "tags": [
          "gas",
          "fees",
          "base",
          "eip1559",
          "onchain"
        ]
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "x402-echo-service.onrender.com",
    "manifest_name": "x402-echo-service.onrender.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": {
    "baseFeeGwei": "0.004",
    "baseFeeWei": "4000000",
    "blockNumber": 50656854,
    "gasPriceGwei": "0.005",
    "gasPriceWei": "5000000"
  }
}