Skip to main content

Endpoints

API Usage

Once you already have access to the Staking API with a validated user and existing apikeys you can start using this service.

warning

In order to use this module endpoints, you will need to request access to stakely [email protected].

The module is restricted for whitelisted users.

API Reference docs

tip

You can check the Staking API Reference here:

Authentication

In order to use staking api related endpoints you need to include your API KEY

Header:

NameDescriptionExample valueRequired
X-API-KEYYour api key value<API_KEY_VALUE>

New validator action

New Validator (deposit-data):

Description

This endpoint will get a fresh new publickey and build a valid signed deposit data

Request body parameters

NewValidatorActionDto

Returned

NewValidatorActionResponseDto


Get exit message action

Get encrypted exit message for the given validator

Description

This endpoint will build an exit signed message for the given validator. PGP encrypts the message for extra security

Request param

At url param you will need to pass the targeted public_key to be exited

Returned

ExitMessageActionResponseDto


Get Validators

Gets existing validators created by previously new-validator endpoint

Description

This endpoint will get all existing validators data, and with existing beacon chain data (if validator has been deposited)

Request Query parameters

If you want you are able to filter validators by passing some of the next query params. All query params are optional and you are free to combine them if needed:

ParamValueDescription
public_key0x801b6d828105ccd8df0f3b3d45d4e799632657c313d15a5a1bac50104e3d4b850187b12e631090ee36809a1f722563e7Validator public key hex value
withdrawal_address0x90d2af5efde4c61cefa11d3548d044dcae768fdcWithdrawal credential address
statusOne of -> Enum : [pending, deposited, active_online, active_offline, exiting_online, exited, exiting_offline, slashed, slashing_online, slashing_offline]Beacon chain validator status

Returned

ValidatorResponseDto