{
  "x402Version": 2,
  "id": 27072,
  "slug": "27072",
  "resource": "https://keyronne.com/api/chain-block",
  "description": "Fetch a block header by number, hash, or \"latest\" on Ethereum, Base, Arbitrum, Optimism, Polygon, or BNB Chain: timestamp, miner, gas used/limit, base fee, transaction count, size. Public JSON-RPC, no API keys. POST a JSON body like: {\"chain\":\"base\",\"block\":\"latest\"}",
  "type": "http",
  "serviceName": "EVM Block",
  "resourceType": "Utilities",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xB86F95EF5FA904318Ea9Df3b59AdCe099b478fC4",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "3000",
      "amountUsd": 0.003,
      "maxTimeoutSeconds": 60
    }
  ],
  "outputSchema": {
    "properties": {
      "baseFeeGwei": {
        "type": "string"
      },
      "chain": {
        "type": "string"
      },
      "gasUsed": {
        "type": "integer"
      },
      "hash": {
        "type": "string"
      },
      "number": {
        "type": "integer"
      },
      "time": {
        "type": "string"
      },
      "timestamp": {
        "type": "integer"
      },
      "transactionCount": {
        "type": "integer"
      }
    },
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "block": "latest",
            "chain": "base"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "baseFeeGwei": "0.004",
            "chain": "base",
            "gasUsed": 12000000,
            "number": 48346708,
            "time": "2026-07-08T14:30:00.000Z",
            "timestamp": 1783535400,
            "transactionCount": 142
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "properties": {
              "body": {
                "properties": {
                  "block": {
                    "description": "Block number, \"latest\" (default), or a 0x block hash."
                  },
                  "chain": {
                    "enum": [
                      "ethereum",
                      "base",
                      "arbitrum",
                      "optimism",
                      "polygon",
                      "bsc"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "chain"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "type": "object"
          },
          "output": {
            "properties": {
              "baseFeeGwei": {
                "type": "string"
              },
              "chain": {
                "type": "string"
              },
              "gasUsed": {
                "type": "integer"
              },
              "hash": {
                "type": "string"
              },
              "number": {
                "type": "integer"
              },
              "time": {
                "type": "string"
              },
              "timestamp": {
                "type": "integer"
              },
              "transactionCount": {
                "type": "integer"
              }
            },
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "blockchain",
    "block",
    "evm",
    "onchain",
    "header",
    "bazaar"
  ],
  "sourceHost": "keyronne.com",
  "lastUpdated": "2026-10-08T05:33:12.623Z",
  "quality": {
    "calls30d": 4,
    "uniquePayers30d": 4,
    "lastCalledAt": "2026-10-08T05:33:12.384Z"
  },
  "metadata": {
    "serviceName": "EVM Block",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "block": "latest",
              "chain": "base"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "baseFeeGwei": "0.004",
              "chain": "base",
              "gasUsed": 12000000,
              "number": 48346708,
              "time": "2026-07-08T14:30:00.000Z",
              "timestamp": 1783535400,
              "transactionCount": 142
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "properties": {
                "body": {
                  "properties": {
                    "block": {
                      "description": "Block number, \"latest\" (default), or a 0x block hash."
                    },
                    "chain": {
                      "enum": [
                        "ethereum",
                        "base",
                        "arbitrum",
                        "optimism",
                        "polygon",
                        "bsc"
                      ],
                      "type": "string"
                    }
                  },
                  "required": [
                    "chain"
                  ],
                  "type": "object"
                },
                "bodyType": {
                  "enum": [
                    "json"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "output": {
              "properties": {
                "baseFeeGwei": {
                  "type": "string"
                },
                "chain": {
                  "type": "string"
                },
                "gasUsed": {
                  "type": "integer"
                },
                "hash": {
                  "type": "string"
                },
                "number": {
                  "type": "integer"
                },
                "time": {
                  "type": "string"
                },
                "timestamp": {
                  "type": "integer"
                },
                "transactionCount": {
                  "type": "integer"
                }
              },
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "keyronne.com",
    "manifest_name": "keyronne.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": "string",
    "chain": "string",
    "gasUsed": 0,
    "hash": "string",
    "number": 0,
    "time": "string",
    "timestamp": 0,
    "transactionCount": 0
  }
}