@alphafi/alphalend-sdk - v1.1.27
    Preparing search index...

    Function isNaviFlashLoanSupported

    • Returns whether Navi supports flash loan for the given coin type. Use this in the UI to show/hide Flash Repay or to filter repay-asset options and prevent transaction failure.

      Parameters

      • coinType: string

        Full coin type (e.g. repay asset coin type)

      • Optionaloptions: { cacheTime?: number; env?: "prod" }

        Optional: env 'prod' | 'dev' (default 'prod'), cacheTime in ms

      Returns Promise<boolean>

      true if the asset is in Navi's flash loan list, false otherwise