Skip to main content

getUserApy

Description:

Get the current APY of the user taking into account minting and boost

Arguments:

NameTypeRequiredDescription
userAddressstringYesThe address of the user
vaultAddressstringYesThe address of the vault

Returns:

type Output = number

Example:

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