Validators Methods

public registerValidator (publicKey, operatorIds, sharesPublicKeys, sharesEncrypted, amount)

Description: registers new validator to provided operators (ids + keyshares), keyshares are obtained by splitting the validator key (Here you can get the latest version of the key splitting tool to generate this data - note that the “amount” can be zero).

Parameter

Type

Description

publicKey

bytes

The validator’s public key.

operatorIds

unit32[]

List of all operator’s ids.

sharesPublicKeys

bytes[]

List of all keyshares public keys.

sharesEncrypted

bytes[]

List of all keyshares encrypted private keys.

amount

uint256 (casted to uint64)

Amount of SSV token to be deposited as payment

(not mandatory)

public updateValidator (publicKey, operatorIds, sharesPublicKeys, sharesEncrypted, amount)

Description: updates the managing operators of a registered validator to new operators (ids + keyshares), new keyshares must be obtained by splitting the validator key (Here you can get the latest version of the key splitting tool - note that the “amount” can be zero)

Parameter

Type

Description

publicKey

bytes

The validator’s public key.

operatorIds

unit32[]

List of all operator’s ids.

sharesPublicKeys

bytes[]

List of all keyshares public keys.

sharesEncrypted

bytes[]

List of all keyshares encrypted private keys.

amount

uint256

Amount of SSV token to be deposited as payment

(not mandatory)

public removeValidator (publicKey)

Description: removes validator from the SSV network. Please note that this will cause the validator to stop performing his duties, but will not exit it from the beacon chain.

Parameter

Type

Description

publicKey

bytes

The validator’s public key.

Last updated