Returns the byteSize of a {@link Buffer} holding the serialized data of PackVoucher
Returns a readable version of PackVoucher properties and can be used to convert to JSON and/or logging
Serializes the PackVoucher into a Buffer.
a tuple of the created Buffer and the offset up to which the buffer was written to store it.
Deserializes the PackVoucher from the provided data Buffer.
a tuple of the account data and the offset up to which the buffer was read to obtain it.
Retrieves the account info from the provided address and deserializes the PackVoucher from its data.
Deserializes the PackVoucher from the data of the provided {@link web3.AccountInfo}.
a tuple of the account data and the offset up to which the buffer was read to obtain it.
Creates a PackVoucher instance from the provided args.
Fetches the minimum balance needed to exempt an account holding PackVoucher data from rent
used to retrieve the rent exemption information
Provides a {@link 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
Determines if the provided {@link Buffer} has the correct byte size to hold PackVoucher data.
Generated using TypeDoc
Holds the data for the PackVoucher Account and provides de/serialization functionality for that data