• Calculates claimable SOL lamports from:

    • claimable token amount in the token's base units (BN or bigint)
    • token USD price and SOL USD price
    • token decimals

    Parameters

    • params: {
          claimableAmount: bigint;
          solDecimals?: number;
          solPriceUsd: number;
          tokenDecimals: number;
          tokenPriceUsd: number;
      }

    Returns bigint