{
  "x402Version": 2,
  "id": 33823,
  "slug": "33823",
  "resource": "https://x402.agentindex.world/base/block",
  "description": "Fetch a Base mainnet block header and transaction hashes by number, tag (latest/earliest/safe/finalized), or hash via eth_getBlockByNumber/eth_getBlockByHash.",
  "type": "http",
  "serviceName": "base-block",
  "resourceType": "Utilities",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xb3F32bdfe8D07825BC0D7387295aB1D7559BA69d",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "3000",
      "amountUsd": 0.003,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "base_fee_per_gas": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Base Fee Per Gas"
          },
          "gas_limit": {
            "title": "Gas Limit",
            "type": "integer"
          },
          "gas_used": {
            "title": "Gas Used",
            "type": "integer"
          },
          "hash": {
            "title": "Hash",
            "type": "string"
          },
          "miner": {
            "title": "Miner",
            "type": "string"
          },
          "number": {
            "title": "Number",
            "type": "integer"
          },
          "parent_hash": {
            "title": "Parent Hash",
            "type": "string"
          },
          "timestamp": {
            "title": "Timestamp",
            "type": "integer"
          },
          "transaction_count": {
            "title": "Transaction Count",
            "type": "integer"
          },
          "transaction_hashes": {
            "items": {
              "type": "string"
            },
            "title": "Transaction Hashes",
            "type": "array"
          }
        },
        "required": [
          "number",
          "hash",
          "parent_hash",
          "timestamp",
          "miner",
          "gas_used",
          "gas_limit",
          "transaction_count",
          "transaction_hashes"
        ],
        "title": "BlockOutput",
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "number": 0
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "base_fee_per_gas": 1000000000,
            "gas_limit": 30000000,
            "gas_used": 0,
            "hash": "0xf712aa9241cc24369b143cf6dce85f0902a9731e70d66818a3a5845b296c73dd",
            "miner": "0x4200000000000000000000000000000000000011",
            "number": 0,
            "parent_hash": "0x0000000000000000000000000000000000000000000000000000000000000000",
            "timestamp": 1686789347,
            "transaction_count": 0,
            "transaction_hashes": []
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "hash": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null,
                    "title": "Hash"
                  },
                  "number": {
                    "anyOf": [
                      {},
                      {
                        "type": "null"
                      }
                    ],
                    "default": null,
                    "title": "Number"
                  }
                },
                "title": "BlockInput",
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST",
                  "PUT",
                  "PATCH"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "base_fee_per_gas": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null,
                    "title": "Base Fee Per Gas"
                  },
                  "gas_limit": {
                    "title": "Gas Limit",
                    "type": "integer"
                  },
                  "gas_used": {
                    "title": "Gas Used",
                    "type": "integer"
                  },
                  "hash": {
                    "title": "Hash",
                    "type": "string"
                  },
                  "miner": {
                    "title": "Miner",
                    "type": "string"
                  },
                  "number": {
                    "title": "Number",
                    "type": "integer"
                  },
                  "parent_hash": {
                    "title": "Parent Hash",
                    "type": "string"
                  },
                  "timestamp": {
                    "title": "Timestamp",
                    "type": "integer"
                  },
                  "transaction_count": {
                    "title": "Transaction Count",
                    "type": "integer"
                  },
                  "transaction_hashes": {
                    "items": {
                      "type": "string"
                    },
                    "title": "Transaction Hashes",
                    "type": "array"
                  }
                },
                "required": [
                  "number",
                  "hash",
                  "parent_hash",
                  "timestamp",
                  "miner",
                  "gas_used",
                  "gas_limit",
                  "transaction_count",
                  "transaction_hashes"
                ],
                "title": "BlockOutput",
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "base rpc",
    "block header",
    "base mainnet",
    "eth_getBlockByNumber",
    "eth_getBlockByHash",
    "bazaar"
  ],
  "sourceHost": "x402.agentindex.world",
  "lastUpdated": "2026-10-08T06:09:16.276Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-10-08T06:09:16.076Z"
  },
  "metadata": {
    "serviceName": "base-block",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "number": 0
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "base_fee_per_gas": 1000000000,
              "gas_limit": 30000000,
              "gas_used": 0,
              "hash": "0xf712aa9241cc24369b143cf6dce85f0902a9731e70d66818a3a5845b296c73dd",
              "miner": "0x4200000000000000000000000000000000000011",
              "number": 0,
              "parent_hash": "0x0000000000000000000000000000000000000000000000000000000000000000",
              "timestamp": 1686789347,
              "transaction_count": 0,
              "transaction_hashes": []
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "properties": {
                    "hash": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null,
                      "title": "Hash"
                    },
                    "number": {
                      "anyOf": [
                        {},
                        {
                          "type": "null"
                        }
                      ],
                      "default": null,
                      "title": "Number"
                    }
                  },
                  "title": "BlockInput",
                  "type": "object"
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST",
                    "PUT",
                    "PATCH"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "properties": {
                    "base_fee_per_gas": {
                      "anyOf": [
                        {
                          "type": "integer"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null,
                      "title": "Base Fee Per Gas"
                    },
                    "gas_limit": {
                      "title": "Gas Limit",
                      "type": "integer"
                    },
                    "gas_used": {
                      "title": "Gas Used",
                      "type": "integer"
                    },
                    "hash": {
                      "title": "Hash",
                      "type": "string"
                    },
                    "miner": {
                      "title": "Miner",
                      "type": "string"
                    },
                    "number": {
                      "title": "Number",
                      "type": "integer"
                    },
                    "parent_hash": {
                      "title": "Parent Hash",
                      "type": "string"
                    },
                    "timestamp": {
                      "title": "Timestamp",
                      "type": "integer"
                    },
                    "transaction_count": {
                      "title": "Transaction Count",
                      "type": "integer"
                    },
                    "transaction_hashes": {
                      "items": {
                        "type": "string"
                      },
                      "title": "Transaction Hashes",
                      "type": "array"
                    }
                  },
                  "required": [
                    "number",
                    "hash",
                    "parent_hash",
                    "timestamp",
                    "miner",
                    "gas_used",
                    "gas_limit",
                    "transaction_count",
                    "transaction_hashes"
                  ],
                  "title": "BlockOutput",
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "x402.agentindex.world",
    "manifest_name": "x402.agentindex.world",
    "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": {
      "base_fee_per_gas": null,
      "gas_limit": 0,
      "gas_used": 0,
      "hash": "string",
      "miner": "string",
      "number": 0,
      "parent_hash": "string",
      "timestamp": 0,
      "transaction_count": 0,
      "transaction_hashes": [
        "string"
      ]
    },
    "type": "string"
  }
}