get_payers_by_network

Retrieves a list of wallet addresses that’ve contributed data blobs to a given network.

post
  • Returns an empty list if no blobs were found.

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

This endpoint identifies all payers responsible for uploading or funding data—deduplicated across the various nodes they may own within a network.

Body
all ofOptional
Responses
200

RPC success with list of payer pubkeys

application/json
post
POST / HTTP/1.1
Host: devnet.indexer.data-anchor.termina.technology
Content-Type: application/json
Accept: */*
Content-Length: 102

{
  "id": "70",
  "jsonrpc": "2.0",
  "method": "get_payers_by_network",
  "params": {
    "network_name": "Cloud Network"
  }
}
{
  "jsonrpc": "2.0",
  "id": "70",
  "result": [
    "5G9h4h5K1Jk1L9oLx2YtM3N4P5Q6R7S8T9U0V1W2X3Y4",
    "4Nd1m1c9f9LxFHVfv1m1ChMpV4hV6j3uYVFzh5eRvYV7",
    "7XyB5LzH3Qk9R1S2T3U4V5W6X7Y8Z9A0B1C2D3E4F5G"
  ]
}

Last updated