# get\_payers\_by\_network

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

> \- 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.<br>

```json
{"openapi":"3.0.1","info":{"title":"Data Indexer — get_payers_by_network","version":"0.1.0"},"tags":[{"name":"Metadata","description":"Methods for retrieving indexer metadata"}],"servers":[{"url":"https://devnet.data-anchor.termina.technology","description":"Devnet endpoint"},{"url":"https://mainnet.data-anchor.termina.technology","description":"Mainnet endpoint"}],"paths":{"/":{"post":{"tags":["Metadata"],"operationId":"getPayersByNetwork","summary":"Retrieves a list of wallet addresses that’ve contributed data blobs to a given network.","description":"- Returns an empty list if no blobs were found.\n- Returns an error if there was a database or RPC failure.\n\nThis endpoint identifies all payers responsible for uploading or funding data—deduplicated across the various nodes they may own within a network.\n","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetPayersByNetworkRequest"}}}},"responses":{"200":{"description":"RPC success with list of payer pubkeys","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RpcResponse_GetPayersByNetwork"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"500":{"$ref":"#/components/responses/ServerError"}}}}},"components":{"schemas":{"GetPayersByNetworkRequest":{"allOf":[{"$ref":"#/components/schemas/RpcRequestBase"},{"type":"object","properties":{"params":{"$ref":"#/components/schemas/GetPayersByNetworkParams"}}}]},"RpcRequestBase":{"type":"object","required":["id","jsonrpc","method"],"properties":{"id":{"type":"string","description":"Client-generated request identifier"},"jsonrpc":{"type":"string","enum":["2.0"],"description":"JSON-RPC version"},"method":{"type":"string","description":"RPC method name"}}},"GetPayersByNetworkParams":{"type":"object","required":["network_name"],"properties":{"network_name":{"type":"string","description":"Name of the network (e.g. \"Cloud Network\")"}}},"RpcResponse_GetPayersByNetwork":{"type":"object","required":["jsonrpc","id"],"properties":{"jsonrpc":{"type":"string","enum":["2.0"]},"id":{"type":"string"},"result":{"$ref":"#/components/schemas/GetPayersByNetworkResult"},"error":{"$ref":"#/components/schemas/RpcError"}}},"GetPayersByNetworkResult":{"type":"array","description":"List of unique payer pubkeys","items":{"type":"string","description":"Pubkey string"}},"RpcError":{"type":"object","required":["code","message"],"properties":{"code":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","nullable":true}}}},"responses":{"BadRequest":{"description":"Invalid request payload","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RpcError"}}}},"ServerError":{"description":"Internal indexer error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RpcError"}}}}}}}
```

## The RpcRequestBase object

```json
{"openapi":"3.0.1","info":{"title":"Data Indexer — get_payers_by_network","version":"0.1.0"},"components":{"schemas":{"RpcRequestBase":{"type":"object","required":["id","jsonrpc","method"],"properties":{"id":{"type":"string","description":"Client-generated request identifier"},"jsonrpc":{"type":"string","enum":["2.0"],"description":"JSON-RPC version"},"method":{"type":"string","description":"RPC method name"}}}}}}
```

## The GetPayersByNetworkParams object

```json
{"openapi":"3.0.1","info":{"title":"Data Indexer — get_payers_by_network","version":"0.1.0"},"components":{"schemas":{"GetPayersByNetworkParams":{"type":"object","required":["network_name"],"properties":{"network_name":{"type":"string","description":"Name of the network (e.g. \"Cloud Network\")"}}}}}}
```

## The GetPayersByNetworkRequest object

```json
{"openapi":"3.0.1","info":{"title":"Data Indexer — get_payers_by_network","version":"0.1.0"},"components":{"schemas":{"GetPayersByNetworkRequest":{"allOf":[{"$ref":"#/components/schemas/RpcRequestBase"},{"type":"object","properties":{"params":{"$ref":"#/components/schemas/GetPayersByNetworkParams"}}}]},"RpcRequestBase":{"type":"object","required":["id","jsonrpc","method"],"properties":{"id":{"type":"string","description":"Client-generated request identifier"},"jsonrpc":{"type":"string","enum":["2.0"],"description":"JSON-RPC version"},"method":{"type":"string","description":"RPC method name"}}},"GetPayersByNetworkParams":{"type":"object","required":["network_name"],"properties":{"network_name":{"type":"string","description":"Name of the network (e.g. \"Cloud Network\")"}}}}}}
```

## The GetPayersByNetworkResult object

```json
{"openapi":"3.0.1","info":{"title":"Data Indexer — get_payers_by_network","version":"0.1.0"},"components":{"schemas":{"GetPayersByNetworkResult":{"type":"array","description":"List of unique payer pubkeys","items":{"type":"string","description":"Pubkey string"}}}}}
```

## The RpcError object

```json
{"openapi":"3.0.1","info":{"title":"Data Indexer — get_payers_by_network","version":"0.1.0"},"components":{"schemas":{"RpcError":{"type":"object","required":["code","message"],"properties":{"code":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","nullable":true}}}}}}
```

## The RpcResponse\_GetPayersByNetwork object

```json
{"openapi":"3.0.1","info":{"title":"Data Indexer — get_payers_by_network","version":"0.1.0"},"components":{"schemas":{"RpcResponse_GetPayersByNetwork":{"type":"object","required":["jsonrpc","id"],"properties":{"jsonrpc":{"type":"string","enum":["2.0"]},"id":{"type":"string"},"result":{"$ref":"#/components/schemas/GetPayersByNetworkResult"},"error":{"$ref":"#/components/schemas/RpcError"}}},"GetPayersByNetworkResult":{"type":"array","description":"List of unique payer pubkeys","items":{"type":"string","description":"Pubkey string"}},"RpcError":{"type":"object","required":["code","message"],"properties":{"code":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","nullable":true}}}}}}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.termina.technology/documentation/open-source-contributions/modules/data-anchor/indexing-data/getting-payers/get_payers_by_network.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
