Function findLoanNoteAddress
- findLoanNoteAddress(program: Program<Idl>, reserve: PublicKey, obligation: PublicKey, wallet: PublicKey): Promise<[loanNotePubkey: PublicKey, loanNoteBump: number]>
-
Parameters
-
program: Program<Idl>
-
reserve: PublicKey
-
obligation: PublicKey
-
wallet: PublicKey
Returns Promise<[loanNotePubkey: PublicKey, loanNoteBump: number]>
Find loan note token account for the reserve, obligation and wallet.