celestia · JSON Structure

Celestia Blob Structure

Structural definition for the canonical Celestia blob, as submitted via blob.Submit / state.SubmitPayForBlob and retrieved via blob.Get.

Type: object Properties: 6 Required: 2

Celestia Blob Structure is a JSON Structure definition published by celestia, describing 6 properties, of which 2 are required. It conforms to the https://json-structure.org/draft-01 meta-schema.

Properties

namespace data share_version commitment index signer

Meta-schema: https://json-structure.org/draft-01

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/draft-01",
  "$id": "https://raw.githubusercontent.com/api-evangelist/celestia/main/json-structure/celestia-blob-structure.json",
  "title": "Celestia Blob Structure",
  "description": "Structural definition for the canonical Celestia blob, as submitted via blob.Submit / state.SubmitPayForBlob and retrieved via blob.Get.",
  "type": "object",
  "properties": {
    "namespace": {
      "type": "string",
      "documentation": "Base64-encoded 29-byte namespace identifier."
    },
    "data": {
      "type": "string",
      "documentation": "Base64-encoded blob payload."
    },
    "share_version": {
      "type": "integer",
      "documentation": "Blob share version (0 or 1)."
    },
    "commitment": {
      "type": "string",
      "documentation": "Subtree-root commitment to the blob."
    },
    "index": {
      "type": "integer",
      "documentation": "Share index where the blob starts in the extended data square."
    },
    "signer": {
      "type": "string",
      "documentation": "Bech32 signer address for share_version 1 blobs."
    }
  },
  "required": ["namespace", "data"]
}