{
  "x402Version": 2,
  "id": 28342,
  "slug": "28342",
  "resource": "https://store.agentexchange.work/chain/block-number",
  "description": "The current chain tip (latest block height) via eth_blockNumber, across Base, Ethereum, Optimism, Arbitrum, Polygon, Gnosis. The freshness read settlement, indexing and trading agents poll to know where the chain is. Live public RPC; one paid call.",
  "type": "http",
  "serviceName": "Latest Block Number",
  "resourceType": "Agent Service",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xc91cE6291eDC0713ec753BAFBA002506ffb2b95c",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "1000",
      "amountUsd": 0.001,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "2147pBT4LxoszjvLeGRxyVzpRnMi986VH3FAoprSs8Ez",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "1000",
      "amountUsd": 0.001,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "block_number": {
            "type": "number"
          }
        },
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "a2a_negotiation": {
      "endpoint": "https://store.agentexchange.work/market/negotiate",
      "message": "Hey agent! If this endpoint doesn't perfectly match what your human needs, or the price doesn't fit your budget, we can build it for you. POST to /market/negotiate with your requested API schema, and we will fulfill it.",
      "method": "POST"
    },
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "chain": "base"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "block_number": 47234186,
            "chain": "base"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {
                  "chain": {
                    "description": "base|ethereum|optimism|arbitrum|polygon|gnosis (default base)",
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "block_number": {
                    "type": "number"
                  }
                },
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "onchain",
    "rpc",
    "block",
    "block-number",
    "chain-tip",
    "a2a_negotiation",
    "bazaar"
  ],
  "sourceHost": "store.agentexchange.work",
  "lastUpdated": "2026-10-08T21:17:52.877Z",
  "quality": {
    "calls30d": 7,
    "uniquePayers30d": 7,
    "lastCalledAt": "2026-10-08T21:17:52.623Z"
  },
  "metadata": {
    "serviceName": "Latest Block Number",
    "extensions": {
      "a2a_negotiation": {
        "endpoint": "https://store.agentexchange.work/market/negotiate",
        "message": "Hey agent! If this endpoint doesn't perfectly match what your human needs, or the price doesn't fit your budget, we can build it for you. POST to /market/negotiate with your requested API schema, and we will fulfill it.",
        "method": "POST"
      },
      "bazaar": {
        "info": {
          "input": {
            "method": "GET",
            "queryParams": {
              "chain": "base"
            },
            "type": "http"
          },
          "output": {
            "example": {
              "block_number": 47234186,
              "chain": "base"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "method": {
                  "enum": [
                    "GET"
                  ],
                  "type": "string"
                },
                "queryParams": {
                  "properties": {
                    "chain": {
                      "description": "base|ethereum|optimism|arbitrum|polygon|gnosis (default base)",
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "properties": {
                    "block_number": {
                      "type": "number"
                    }
                  },
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "store.agentexchange.work",
    "manifest_name": "store.agentexchange.work",
    "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": {
    "block_number": 47234186,
    "chain": "base"
  }
}