Skip to main content

getValidators

Description:

Returns the running vault validators.

Arguments:

NameTypeRequiredDescription
vaultAddressstringYesThe address of the vault
limitnumberNoLimits the number of validators returned. Defaults to 100
skipnumberNoSkips the specified number of validators. Defaults to 0

Returns:

type Output = {
createdAt: number
publicKey: string
earned: string
link: string
apy: string
}
NameDescription
createdAtDate of Creation
publicKeyValidator public key
earnedValidator balance (in ETH)
linkLink to beaconchain
apyCurrent validator apy

Example:

await sdk.vault.getValidators({
skip: 0,
limit: 5,
vaultAddress: '0x...'
})