{
  "x402Version": 2,
  "id": 28559,
  "slug": "28559",
  "resource": "https://blockchain-api.x402-chain-tools.workers.dev/chain/block",
  "description": "Check the latest or current Base Mainnet block number. Use this to get the live Base block height.",
  "type": "http",
  "serviceName": "x402 Chain Tools",
  "resourceType": "Blockchain Data",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xa7e1fe3744E3b6D55237d95cE575cAFe3b8abeCD",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "1000",
      "amountUsd": 0.001,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "5vX2u7mkwhxpvQYNA7SqmauJjkcfnxETQ6tKVZphzKyM",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "1000",
      "amountUsd": 0.001,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "additionalProperties": false,
        "properties": {
          "block": {
            "additionalProperties": false,
            "properties": {
              "number": {
                "type": [
                  "integer",
                  "string"
                ]
              },
              "number_hex": {
                "pattern": "^0x[0-9a-fA-F]+$",
                "type": "string"
              }
            },
            "required": [
              "number",
              "number_hex"
            ],
            "type": "object"
          },
          "network": {
            "const": "eip155:8453",
            "type": "string"
          },
          "ok": {
            "const": true,
            "type": "boolean"
          }
        },
        "required": [
          "ok",
          "network",
          "block"
        ],
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {},
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "block": {
              "number": 0,
              "number_hex": "0x0"
            },
            "network": "eip155:8453",
            "ok": true
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {},
                "required": [],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "additionalProperties": false,
                "properties": {
                  "block": {
                    "additionalProperties": false,
                    "properties": {
                      "number": {
                        "type": [
                          "integer",
                          "string"
                        ]
                      },
                      "number_hex": {
                        "pattern": "^0x[0-9a-fA-F]+$",
                        "type": "string"
                      }
                    },
                    "required": [
                      "number",
                      "number_hex"
                    ],
                    "type": "object"
                  },
                  "network": {
                    "const": "eip155:8453",
                    "type": "string"
                  },
                  "ok": {
                    "const": true,
                    "type": "boolean"
                  }
                },
                "required": [
                  "ok",
                  "network",
                  "block"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "x402",
    "blockchain",
    "base",
    "bazaar"
  ],
  "sourceHost": "blockchain-api.x402-chain-tools.workers.dev",
  "lastUpdated": "2026-10-12T09:40:51.084Z",
  "quality": {
    "calls30d": 5,
    "uniquePayers30d": 4,
    "lastCalledAt": "2026-10-12T09:40:50.738Z"
  },
  "metadata": {
    "serviceName": "x402 Chain Tools",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {},
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "block": {
                "number": 0,
                "number_hex": "0x0"
              },
              "network": "eip155:8453",
              "ok": true
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {},
                  "required": [],
                  "type": "object"
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "additionalProperties": false,
                  "properties": {
                    "block": {
                      "additionalProperties": false,
                      "properties": {
                        "number": {
                          "type": [
                            "integer",
                            "string"
                          ]
                        },
                        "number_hex": {
                          "pattern": "^0x[0-9a-fA-F]+$",
                          "type": "string"
                        }
                      },
                      "required": [
                        "number",
                        "number_hex"
                      ],
                      "type": "object"
                    },
                    "network": {
                      "const": "eip155:8453",
                      "type": "string"
                    },
                    "ok": {
                      "const": true,
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "ok",
                    "network",
                    "block"
                  ],
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "blockchain-api.x402-chain-tools.workers.dev",
    "manifest_name": "blockchain-api.x402-chain-tools.workers.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": {
      "block": {
        "number": 0,
        "number_hex": "string"
      },
      "network": "string",
      "ok": true
    },
    "type": "string"
  }
}