get_blobs_by_namespace

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

Last updated