Constructors
constructor
- new JetClient(program: Program<Jet>, devnet?: boolean): JetClient
Parameters
program: Program<Jet>
Optional devnet: boolean
Properties
Optional devnet
devnet?: boolean
Methods
allObligations
- allObligations(filters?: GetProgramAccountsFilter[]): Promise<ProgramAccount<ObligationAccount>[]>
Parameters
Optional filters: GetProgramAccountsFilter[]
Returns Promise<ProgramAccount<ObligationAccount>[]>
encodeObligation
Parameters
Returns Promise<Buffer>
Static connect
- connect(provider: default, devnet?: boolean): Promise<JetClient>
Parameters
provider: default
Optional devnet: boolean
Static use
- use(provider: default, devnet?: boolean): undefined | JetClient
Parameters
provider: default
Optional devnet: boolean
Returns undefined | JetClient
TODO: