{
  "x402Version": 2,
  "id": 193,
  "slug": "193",
  "resource": "https://x402.ottoai.services/chain-status",
  "description": "Base chain status from Otto's own RPC: the four heads an agent needs before it acts — latest (~2s soft), safe, L1-finalized and the pending Flashblocks preconfirmation head — with base fee (wei+gwei), congestion, block age and the finality lag between them. Makes the Base pending-vs-latest gap explicit. Flat JSON, refreshed every minute, honest staleness meta. Base chain status, block height, base fee, finality, chain health. $0.001 per call.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x0E84dDEdAaE6A779c462C22a59F301EC31B6b808",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "1000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "6XcSfqJHr9vNW2vbiRaMqUYVm7shDgLepca54wUTDPN5",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "1000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {},
          "type": "http"
        },
        "output": {
          "example": {
            "data": {
              "blockAgeSec": 3,
              "chain": "base",
              "chainId": 8453,
              "congestion": "low",
              "finalityLagBlocks": 474,
              "finalityLagSec": 948,
              "finalityNote": "Base is an OP-Stack L2: ~2s soft-confirmed blocks (latest), L2-safe once the sequencer batch is submitted (safe), and L1-finalized after that batch is finalized on Ethereum (finalized, ~15 min behind). `pending` is the Flashblocks preconfirmation head.",
              "finalized": {
                "baseFeePerGasGwei": 0.005,
                "baseFeePerGasWei": "5000000",
                "blockNumber": 50738081,
                "blockTimeIso": "2026-09-01T11:45:09.000Z",
                "blockTimestamp": 1788265509,
                "gasUsedRatio": 0.0825
              },
              "generatedAt": "2026-09-01T12:01:00.000Z",
              "latest": {
                "baseFeePerGasGwei": 0.005,
                "baseFeePerGasWei": "5000000",
                "blockNumber": 50738555,
                "blockTimeIso": "2026-09-01T12:00:57.000Z",
                "blockTimestamp": 1788266457,
                "gasUsedRatio": 0.1088
              },
              "pending": {
                "baseFeePerGasGwei": 0.005,
                "baseFeePerGasWei": "5000000",
                "blockNumber": 50738556,
                "blockTimeIso": "2026-09-01T12:00:59.000Z",
                "blockTimestamp": 1788266459,
                "gasUsedRatio": 0.0413,
                "note": "in-progress block (Flashblocks preconfirmation head); hash is not yet final"
              },
              "pendingLeadBlocks": 1,
              "safe": {
                "baseFeePerGasGwei": 0.005,
                "baseFeePerGasWei": "5000000",
                "blockNumber": 50738532,
                "blockTimeIso": "2026-09-01T12:00:11.000Z",
                "blockTimestamp": 1788266411,
                "gasUsedRatio": 0.1893
              }
            },
            "meta": {
              "degraded": false,
              "generatedAt": "",
              "stalenessSec": 0,
              "validUntil": ""
            },
            "status": "success"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {},
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "data": {},
                  "meta": {
                    "type": "object"
                  },
                  "reason": {
                    "description": "status=unavailable only; every >=400 is UNCHARGED",
                    "type": "string"
                  },
                  "status": {
                    "enum": [
                      "success",
                      "unavailable"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "status"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    },
    "builder-code": {
      "info": {
        "a": "bc_hc2dhq09"
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "a": {
            "description": "App builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          },
          "s": {
            "description": "Service builder codes",
            "items": {
              "pattern": "^[a-z0-9_]{1,32}$",
              "type": "string"
            },
            "type": "array"
          },
          "w": {
            "description": "Wallet builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          }
        },
        "type": "object"
      }
    },
    "offer-receipt": {
      "info": {
        "offers": [
          {
            "acceptIndex": 0,
            "format": "eip712",
            "payload": {
              "amount": "1000",
              "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
              "network": "eip155:8453",
              "payTo": "0x0E84dDEdAaE6A779c462C22a59F301EC31B6b808",
              "resourceUrl": "https://x402.ottoai.services/chain-status",
              "scheme": "exact",
              "validUntil": 1788855125,
              "version": 1
            },
            "signature": "0x60ff2ac9ad821e3185f9d7470c7408bc5d09690e59e589622fcb2807c15580232dc1330c2a6f77b315e4095d037951c5d77945cb53a2871636f9029c393b64db1c"
          },
          {
            "acceptIndex": 1,
            "format": "eip712",
            "payload": {
              "amount": "1000",
              "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
              "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
              "payTo": "6XcSfqJHr9vNW2vbiRaMqUYVm7shDgLepca54wUTDPN5",
              "resourceUrl": "https://x402.ottoai.services/chain-status",
              "scheme": "exact",
              "validUntil": 1788855125,
              "version": 1
            },
            "signature": "0x6bcc67ad882f9d00185b27d9312c52d71b29900c3667f58fc51ec05734f571fb2ac891b929992000d83af61b9277eb5142bfc27be95775853c8029942d3a931f1b"
          }
        ]
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "offers": {
            "items": {
              "properties": {
                "acceptIndex": {
                  "type": "integer"
                },
                "format": {
                  "type": "string"
                },
                "payload": {
                  "properties": {
                    "amount": {
                      "type": "string"
                    },
                    "asset": {
                      "type": "string"
                    },
                    "network": {
                      "type": "string"
                    },
                    "payTo": {
                      "type": "string"
                    },
                    "resourceUrl": {
                      "type": "string"
                    },
                    "scheme": {
                      "type": "string"
                    },
                    "validUntil": {
                      "type": "integer"
                    },
                    "version": {
                      "type": "integer"
                    }
                  },
                  "required": [
                    "version",
                    "resourceUrl",
                    "scheme",
                    "network",
                    "asset",
                    "payTo",
                    "amount"
                  ],
                  "type": "object"
                },
                "signature": {
                  "type": "string"
                }
              },
              "required": [
                "format",
                "signature"
              ],
              "type": "object"
            },
            "type": "array"
          }
        },
        "required": [
          "offers"
        ],
        "type": "object"
      }
    },
    "otto-content-receipt": {}
  },
  "tags": [
    "bazaar",
    "builder-code",
    "offer-receipt",
    "otto-content-receipt"
  ],
  "sourceHost": "x402.ottoai.services",
  "lastUpdated": "2026-09-08T08:07:06.033Z",
  "quality": {
    "calls30d": 4,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-09-08T08:07:05.578Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "x402.ottoai.services",
    "manifest_name": "x402.ottoai.services",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}