StaticbyteReturns the byteSize of a Buffer holding the serialized data of GlobalAtoms
Returns a readable version of GlobalAtoms properties and can be used to convert to JSON and/or logging
Serializes the GlobalAtoms into a Buffer.
a tuple of the created Buffer and the offset up to which the buffer was written to store it.
StaticdeserializeDeserializes the GlobalAtoms from the provided data Buffer.
a tuple of the account data and the offset up to which the buffer was read to obtain it.
StaticfromRetrieves the account info from the provided address and deserializes the GlobalAtoms from its data.
OptionalcommitmentOrConfig: Commitment | GetAccountInfoConfigStaticfromDeserializes the GlobalAtoms 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.
StaticfromCreates a GlobalAtoms instance from the provided args.
StaticgetFetches the minimum balance needed to exempt an account holding GlobalAtoms data from rent
used to retrieve the rent exemption information
Optionalcommitment: CommitmentStaticgpaProvides 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
StatichasDetermines if the provided Buffer has the correct byte size to hold GlobalAtoms data.
Holds the data for the GlobalAtoms Account and provides de/serialization functionality for that data