get_blobs_by_network

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
post
POST / 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
    ]
  ]
}

Last updated