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

Previousget_blobs_by_payerNextGetting Payers

Last updated 6 days ago

Retrieves a list of data blobs for a blober account in the given slot number.

post
  • Returns an empty list if no blobs were uploaded during the slot.

  • Returns null if the slot has not been completed yet.

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

Typically, each user is represented by a blober, and each blober’s associated data are its blobs. However, a blober may map to a user account, a node account, or another logical entity—the semantics may vary and is determined by each network’s operators.

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

{
  "id": "42",
  "jsonrpc": "2.0",
  "method": "get_blobs",
  "params": {
    "blober": "4Nd1m1c9f9LxFHVfv1m1ChMpV4hV6j3uYVFzh5eRvYV7",
    "slot": 12345678
  }
}
{
  "jsonrpc": "2.0",
  "id": "42",
  "result": [
    [
      72,
      101,
      108,
      108,
      111
    ],
    [
      16,
      32,
      48,
      64,
      80
    ]
  ]
}