Private sets is a self-serve feature designed to enable organizations to curate a set of validators, each marked with a unique tag. This tag, carrying an identifier specific to your organization, ensures that only you can view the performance and rewards metrics for it. Displayed within your console, these tags streamline analysis processes and let you perform A/B testing on your node setup or group together validators for a specific customer confidentially.Documentation Index
Fetch the complete documentation index at: https://docs.rated.network/llms.txt
Use this file to discover all available pages before exploring further.
Getting Started
Build and Growth API users can create private sets. Build tier comes with max 4 sets while Growth comes with 20.Step 1: Creating a Tag and associating validators to it
To call a set’s effectiveness, you must first create a tag which acts as a unique identifier for the set.POST
Body parameters (Required)
| Name | Type | Description |
|---|---|---|
name | string | Name for the tag |
id that you get in the response above, call the following endpoint to associate validators with the tag
POST
Body parameters (Required)
| Name | Type | Description |
|---|---|---|
pubkeys | array | list of keys you wish to associate to a tag |
To add more validators to a tag, call
POST /v1/tags/{id}/validators with the new keys you’d like to add. Similarly, to remove a pubkey from an existing tag, callDELETE /v1/tags/{id}/validators/{pubkey}.Step 2: Calling the performance and rewards endpoints for your set
Using the tag’s ID, call the sets endpoints to retrieve performance and rewards metrics. These endpoints operate similar to the /operators/ endpoints with similar granularities and refresh windows.GET
GET
GET
GET
GET
Query parameters
| Name | Type | Value |
|---|---|---|
granularity | enum | houror day |
fromDate | date | the date from which you wish to retrieve the data |
toDate | date | the date upto which you wish to retrieve the data |
limit | integer | the number of rows returned per page |
offset | integer | offset allows you to omit a specified number of rows before the beginning of the result set |