Private Sets
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.
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
/v1/tags
Body parameters (Required)
Name | Type | Description |
---|---|---|
| string | Name for the tag |
Response
Using the id
that you get in the response above, call the following endpoint to associate validators with the tag
POST
/v1/tags/{id}/validators
Body parameters (Required)
Name | Type | Description |
---|---|---|
| array | list of keys you wish to associate to a tag |
Response
Once you have a tag with validator mappings, you can move to Step 2.
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}.
NOTE: Removing keys from a tag doesn't erase their impact on historical performance ie performance of a removed pubkey continues to impact the all-time performance of a set.
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
/v1/eth/sets/:id/effectiveness
GET
/v1/eth/sets/:id/attestations
GET
/v1/eth/sets/:id/proposals
GET
/v1/eth/sets/:id/rewards
GET
/v1/eth/sets/:id/penalties
Query parameters
Name | Type | Value |
---|---|---|
| enum |
|
| date | the date from which you wish to retrieve the data |
| date | the date upto which you wish to retrieve the data |
| integer | the number of rows returned per page |
| integer | offset allows you to omit a specified number of rows before the beginning of the result set |
Response
Last updated