Skip to main content
POST
Create SSV Request

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
id
string<uuid>
required

Arbitrary UUID. You can later use that UUID to check the status of the set-up operation.

Example:

"3fa85f64-5717-4562-b3fc-2c963f66afa6"

validatorsCount
number<double>
default:1
required

Number of validators. One validator is equal to 32 ETH.

Required range: 1 <= x <= 50
Example:

1

withdrawalAddress
string
required

Withdrawal address of the client.

Pattern: ^0x[a-fA-F0-9]{40}$
Example:

"0x338EF19fA2eC0fc4d1277B1307a613fA1FBbc0cb"

feeRecipientAddress
string
required

Eth1 address that receives fee recipient rewards.

Pattern: ^0x[a-fA-F0-9]{40}$
Example:

"0x338EF19fA2eC0fc4d1277B1307a613fA1FBbc0cb"

ssvOwnerAddress
string
required

ETH1 address from which registerValidator method of SSV contract will be called.

Pattern: ^0x[a-fA-F0-9]{40}$
Example:

"0x338EF19fA2eC0fc4d1277B1307a613fA1FBbc0cb"

type
enum<string>
default:without-encrypt-key
required

Request type: with or without an encrypted key. If with-encrypt-key is selected, fill the ecdhPublicKey field.

Available options:
with-encrypt-key,
without-encrypt-key
Example:

"without-encrypt-key"

amountPerValidator
string

Amount of tokens in Gwei to stake per validator.

Example:

"32000000000"

withdrawalCredentialsType
enum<string>

Withdrawal credentials type.

Available options:
0x01,
0x02
Example:

"0x02"

operationPeriodInDays
integer<int32>
default:365

Operation period in days.

Required range: 1 <= x <= 3650
Example:

365

ecdhPublicKey
string

Your ECDH public key for getting the encrypted validator private key.

Example:

null

Response

OK

The response is of type any.