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_payer

Previousget_blobs_by_bloberNextget_blobs

Last updated 8 days ago

Retrieves a list of data blobs associated with a specific payer—given their public key, a network name, and a time range.

post
  • The time range’s start and end fields are optional to allow for open-ended queries.

  • Returns an empty list if no blobs were found.

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

It’s possible for the same payer to fund multiple blober accounts, so this endpoint fetches data blobs for all accounts linked to the given payer. For example, in a dePIN network like “Cloud Network,” a user Alice may operate two nodes, each with its own blober account—home.alice.cloud and office.alice.cloud. This endpoint would return all all data blobs that’ve been sent to both of those blobers.

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

{
  "id": "44",
  "jsonrpc": "2.0",
  "method": "get_blobs_by_payer",
  "params": {
    "payer": "5G9h4h5K1Jk1L9oLx2YtM3N4P5Q6R7S8T9U0V1W2X3Y4",
    "start": "2025-05-01T00:00:00Z",
    "end": "2025-05-31T23:59:59Z"
  }
}
{
  "jsonrpc": "2.0",
  "id": "44",
  "result": [
    [
      101,
      102,
      103
    ],
    [
      200,
      201,
      202
    ]
  ]
}