Returns the number of bytes in this account.
Returns all instances of this account type for the program.
Optional filters: Buffer | GetProgramAccountsFilter[]User-provided filters to narrow the results from connection.getProgramAccounts.
When filters are not defined this method returns all
the account instances.
When filters are of type `Buffer`, the filters are appended
after the discriminator.
When filters are of type `GetProgramAccountsFilter[]`,
filters are appended after the discriminator filter.
Returns an instruction for creating this account.
Optional sizeOverride: numberReturns a deserialized account.
The address of the account to fetch.
Optional commitment: CommitmentReturns a deserialized account along with the associated rpc response context.
The address of the account to fetch.
Optional commitment: CommitmentReturns multiple deserialized accounts. Accounts not found or with wrong discriminator are returned as null.
The addresses of the accounts to fetch.
Optional commitment: CommitmentReturns multiple deserialized accounts. Accounts not found or with wrong discriminator are returned as null.
The addresses of the accounts to fetch.
Optional commitment: CommitmentReturns a deserialized account, returning null if it doesn't exist.
The address of the account to fetch.
Optional commitment: CommitmentReturns a deserialized account along with the associated rpc response context, returning null if it doesn't exist.
The address of the account to fetch.
Optional commitment: CommitmentOptional commitment: CommitmentOptional commitment: CommitmentReturns an EventEmitter emitting a "change" event whenever the account
changes.
Optional commitment: CommitmentUnsubscribes from the account at the given address.
Returns the coder.