{
  "name": "Humanari Book of Records blockchain",
  "description": "Public read-only API. A public, append-only chain of the events that matter in the Humanari Universe. This API only reads it: no key, no account, no writes.",
  "read_only": true,
  "base_url": "https://blockchain.humanari.com",
  "cors": "Every answer allows GET from any origin, so a web page can call it directly.",
  "endpoints": [
    {
      "method": "GET",
      "path": "/latest",
      "returns": "The newest block.",
      "url": "https://blockchain.humanari.com/latest"
    },
    {
      "method": "GET",
      "path": "/block/{number}",
      "returns": "One block, by its number.",
      "url": "https://blockchain.humanari.com/block/{number}"
    },
    {
      "method": "GET",
      "path": "/proof/{hash}",
      "returns": "The block with that block_hash, if the chain has it.",
      "url": "https://blockchain.humanari.com/proof/{hash}"
    },
    {
      "method": "GET",
      "path": "/blocks",
      "returns": "The whole chain, oldest first. It grows with every block: prefer /latest and /block/{number} for anything you run often.",
      "url": "https://blockchain.humanari.com/blocks"
    }
  ],
  "block_fields": [
    "block_number",
    "previous_block_hash",
    "timestamp",
    "event_id",
    "event_hash",
    "block_type",
    "ledger",
    "metadata",
    "signature",
    "block_hash"
  ],
  "block_hash": "SHA-256 of the RFC 8785 (JCS) serialization of the nine fields, lowercase hexadecimal. Anyone can recompute it.",
  "explorer": "https://blockexplorer.humanari.com",
  "protocol": "https://www.humanari.com/integrity-protocol"
}