Methods
Static fetchMultipleInfo
Parameters
Returns Promise<{}>
Static getAssociatedAuthority
- getAssociatedAuthority(__namedParameters: { poolId: PublicKey; programId: PublicKey }): Promise<{ nonce: number; publicKey: PublicKey }>
Parameters
__namedParameters: { poolId: PublicKey; programId: PublicKey }
poolId: PublicKey
programId: PublicKey
Returns Promise<{ nonce: number; publicKey: PublicKey }>
Static getAssociatedLedgerAccount
- getAssociatedLedgerAccount(__namedParameters: { owner: PublicKey; poolId: PublicKey; programId: PublicKey }): Promise<PublicKey>
Parameters
__namedParameters: { owner: PublicKey; poolId: PublicKey; programId: PublicKey }
owner: PublicKey
poolId: PublicKey
programId: PublicKey
Returns Promise<PublicKey>
Static getLayouts
Parameters
Static getLedgerLayout
Parameters
Static getProgramId
- getProgramId(version: number): PublicKey
Parameters
Returns PublicKey
Static getStateLayout
Parameters
Static getVersion
Parameters
Static makeCreateAssociatedLedgerAccountInstruction
Parameters
Returns TransactionInstruction
Static makeCreateAssociatedLedgerAccountInstructionV3
Parameters
Returns TransactionInstruction
Static makeCreateAssociatedLedgerAccountInstructionV5
Parameters
Returns TransactionInstruction
Static makeDepositInstruction
Parameters
Returns TransactionInstruction
Static makeDepositInstructionV3
Parameters
Returns TransactionInstruction
Static makeDepositInstructionV5
Parameters
Returns TransactionInstruction
Static makeWithdrawInstruction
Parameters
Returns TransactionInstruction
Static makeWithdrawInstructionV3
Parameters
Returns TransactionInstruction
Static makeWithdrawInstructionV5
Parameters
Returns TransactionInstruction