Skip to main content

getClaimAmount

Description:

Calculates the amount of assets that the user can claim from the reward splitter.

Arguments:

NameTypeRequiredDescription
userAddressstringYesThe address of the user making the request
vaultAddressstringYesThe address of the vault
rewardSplitterAddressstringYesThe address of the reward splitter

Returns:

type Output = bigint

Example:

const claimAmount = await sdk.rewardSplitter.getClaimAmount({
vaultAddress: '0x...',
userAddress: '0x...',
rewardSplitterAddress: '0x...',
})