Options
All
  • Public
  • Public/Protected
  • All
Menu

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

Hierarchy

  • ReservationListV2

Implements

Index

Properties

currentReservationSpots: bignum
key: Key
masterEdition: PublicKey
reservations: Reservation[]
supplySnapshot: bignum
totalReservationSpots: bignum

Methods

  • pretty(): { currentReservationSpots: number | { toNumber: any }; key: string; masterEdition: string; reservations: Reservation[]; supplySnapshot: bignum; totalReservationSpots: number | { toNumber: any } }
  • serialize(): [Buffer, number]
  • fromAccountAddress(connection: Connection, address: PublicKey): Promise<ReservationListV2>
  • fromAccountInfo(accountInfo: AccountInfo<Buffer>, offset?: number): [ReservationListV2, number]
  • getMinimumBalanceForRentExemption(args: ReservationListV2Args, connection: Connection, commitment?: Commitment): Promise<number>

Generated using TypeDoc