Function findCollateralAddress

  • Find collateral account for the reserve, obligation and wallet.

    Parameters

    • program: Program<Idl>
    • reserve: PublicKey
    • obligation: PublicKey
    • wallet: PublicKey

    Returns Promise<[collateralPubkey: PublicKey, collateralBump: number]>

Generated using TypeDoc