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_network

PreviousGetting BlobsNextget_blobs_by_namespace

Last updated 4 days ago

Retrieves all blobs for a network within a time range.

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

  • Returns an empty list if no blobs were found.

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

A network typically represents data for an entire project e.g. a dePIN or AI network. For instance, a network operator may use this endpoint to check the global number of blob uploads across a given time period.

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_network HTTP/1.1
Host: devnet.indexer.data-anchor.termina.technology
Content-Type: application/json
Accept: */*
Content-Length: 101

{
  "id": "50",
  "jsonrpc": "2.0",
  "method": "get_blobs_by_network",
  "params": {
    "network_name": "Cloud Network"
  }
}
{
  "jsonrpc": "2.0",
  "id": "50",
  "result": [
    [
      10,
      20,
      30
    ],
    [
      40,
      50,
      60
    ]
  ]
}