Readonly
authorityReadonly
baseReadonly
bumpStatic
byteReturns the byteSize of a Buffer holding the serialized data of CandyGuard
Returns a readable version of CandyGuard properties and can be used to convert to JSON and/or logging
Serializes the CandyGuard into a Buffer.
a tuple of the created Buffer and the offset up to which the buffer was written to store it.
Static
deserializeDeserializes the CandyGuard from the provided data Buffer.
a tuple of the account data and the offset up to which the buffer was read to obtain it.
Static
fromRetrieves the account info from the provided address and deserializes the CandyGuard from its data.
Error if no account info is found at the address or if deserialization fails
Optional
commitmentOrConfig: Commitment | GetAccountInfoConfigStatic
fromDeserializes the CandyGuard from the data of the provided web3.AccountInfo.
a tuple of the account data and the offset up to which the buffer was read to obtain it.
Static
fromCreates a CandyGuard instance from the provided args.
Static
getFetches the minimum balance needed to exempt an account holding CandyGuard data from rent
used to retrieve the rent exemption information
Optional
commitment: CommitmentStatic
gpaProvides a web3.Connection.getProgramAccounts config builder, to fetch accounts matching filters that can be specified via that builder.
the program that owns the accounts we are filtering
Static
hasDetermines if the provided Buffer has the correct byte size to hold CandyGuard data.
Generated using TypeDoc
Holds the data for the CandyGuard Account and provides de/serialization functionality for that data