Function findObligationAddress

  • Find the obligation for the wallet.

    Parameters

    • program: Program<Idl>
    • market: PublicKey
    • wallet: PublicKey

    Returns Promise<[obligationPubkey: PublicKey, obligationBump: number]>

Generated using TypeDoc