Function findObligationAddress
- findObligationAddress(program: Program<Idl>, market: PublicKey, wallet: PublicKey): Promise<[obligationPubkey: PublicKey, obligationBump: number]>
-
Parameters
-
program: Program<Idl>
-
market: PublicKey
-
wallet: PublicKey
Returns Promise<[obligationPubkey: PublicKey, obligationBump: number]>
Find the obligation for the wallet.