getMaxMintAmount
Description:
Maximum number of shares for minting
Arguments:
| Name | Type | Required | Description |
|---|---|---|---|
| userAddress | string | Yes | The user address |
| vaultAddress | string | Yes | The address of the vault |
Returns:
type Output = bigint
Example:
await sdk.osToken.getMaxMintAmount({
userAddress: '0x...',
vaultAddress: '0x...',
})