Skip to main content

getBlocklist

Description:

Fetch the blocklist for blocklisted vaults. Addresses included in this list are not eligible to stake in the blocklisted vault. The number of addresses in this list is indicated by the vault blocklistCount field.

Arguments:

NameTypeTypeDescription
vaultAddressstringYesThe address of the vault
addressInstring[]NoFilters results to include only addresses in the provided list. Helps to check, for example, if all OFAC addresses are added to the blocklist
orderDirection'asc' | 'desc'NoSpecifies the sorting order. Defaults to desc (descending order)
searchstringNoFilters results by the address field
limitnumberNoLimits the number of addresses returned. Defaults to 100
skipnumberNoSkips the specified number of addresses. Defaults to 0

Returns:

type List = {
createdAt: number
address: string
}

type Output = {
blocklist: List[]
}
NameDescription
blocklistAn array of objects representing the result of the query based on your parameters

Example:

await sdk.vault.getBlocklist({
vaultAddress: '0x...',
})