Options
All
  • Public
  • Public/Protected
  • All
Menu

Holds the data for the PackVoucher Account and provides de/serialization functionality for that data

Hierarchy

  • PackVoucher

Implements

Index

Properties

accountType: AccountType
master: PublicKey
metadata: PublicKey
packSet: PublicKey

Accessors

  • get byteSize(): number

Methods

  • pretty(): { accountType: string; master: string; metadata: string; packSet: string }
  • serialize(): [Buffer, number]
  • deserialize(buf: Buffer, offset?: number): [PackVoucher, number]
  • fromAccountAddress(connection: Connection, address: PublicKey): Promise<PackVoucher>
  • fromAccountInfo(accountInfo: AccountInfo<Buffer>, offset?: number): [PackVoucher, number]
  • getMinimumBalanceForRentExemption(connection: Connection, commitment?: Commitment): Promise<number>
  • gpaBuilder(programId?: PublicKey): GpaBuilder<Object>
  • hasCorrectByteSize(buf: Buffer, offset?: number): boolean

Generated using TypeDoc