Skip to main content

getPeriodicDistributions

Description:​

Getting the periodic distribution of additional incentives

Arguments:​

NameTypeRequiredDescription
vaultAddressstringYesThe address of the vault
endTimestampnumberYesThe timestamp when the distribution ends
startTimestampnumberYesThe timestamp when the distribution starts

Returns:​

type Output = Array<{
apy: string
token: string
endTimestamp: string
}>
NameDescription
apyThe average weekly apy of the distribution
tokenThe address of the token that is distributed
endTimestampThe timestamp when the distribution ends

Example:​

await sdk.vault.getPeriodicDistributions({
userAddress: '0x...',
endTimestamp: 1741346116,
startTimestamp: 1741346116,
})