Termina
  • Overview
    • Introduction
    • Quickstart
  • Solana Primer
    • Solana Virtual Machine (SVM)
    • Existing Scaling Solutions
    • Why Termina
  • Network Extension Stack
    • Overview
    • FAQs
    • Modules
      • SVM Engine
        • Engine Internals
        • Launching an Instance
      • zkSVM Prover
        • Prover Mechanics
        • Leveraging the zkSVM
      • Data Anchor
        • Data Flow
        • Using the Data Anchor
        • Indexing Data
          • Getting Blobs
            • get_blobs_by_network
            • get_blobs_by_namespace
            • get_blobs_by_blober
            • get_blobs_by_payer
            • get_blobs
          • Getting Payers
            • get_payers_by_network
          • Getting Proofs
            • get_proof_for_blob
            • get_proof
    • Rollups
  • Socials
    • Twitter
    • Discord
    • Website
Powered by GitBook
On this page
  1. Network Extension Stack
  2. Modules
  3. Data Anchor
  4. Indexing Data
  5. Getting Blobs

get_blobs_by_namespace

Previousget_blobs_by_networkNextget_blobs_by_blober

Last updated 6 days ago

Retrieves all blobs for a namespace within a time range.

post
  • If start and end fields are omitted, then the endpoint will retrieve the blobs that correspond to the namespace across all time.

  • Returns an empty list if no blobs were found.

  • Returns an error if there was a database or RPC failure.

A namespace can be thought of as a human-readable ID for a blober account so that callers don’t need to work with the public key directly. See the predefined naming convention for how to structure the namespace so that the indexer is able to group blobs correctly.

Body
all ofOptional
Responses
200
RPC success with blob data
application/json
400
Invalid request payload
application/json
500
Internal indexer error
application/json
post
POST /get_blobs_by_namespace HTTP/1.1
Host: devnet.indexer.data-anchor.termina.technology
Content-Type: application/json
Accept: */*
Content-Length: 103

{
  "id": "60",
  "jsonrpc": "2.0",
  "method": "get_blobs_by_namespace",
  "params": {
    "namespace": "home.alice.cloud"
  }
}
{
  "jsonrpc": "2.0",
  "id": "60",
  "result": [
    [
      5,
      6,
      7
    ],
    [
      8,
      9,
      10
    ]
  ]
}