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

Hierarchy

  • AllowListProof

Implements

Properties

timestamp: bignum

Accessors

Methods

  • Returns a readable version of AllowListProof properties and can be used to convert to JSON and/or logging

    Returns {
        timestamp: number | {
            toNumber: (() => number);
        };
    }

    • timestamp: number | {
          toNumber: (() => number);
      }
  • Fetches the minimum balance needed to exempt an account holding AllowListProof data from rent

    Parameters

    • connection: Connection

      used to retrieve the rent exemption information

    • Optional commitment: Commitment

    Returns Promise<number>

  • Provides a web3.Connection.getProgramAccounts config builder, to fetch accounts matching filters that can be specified via that builder.

    Parameters

    • programId: PublicKey = ...

      the program that owns the accounts we are filtering

    Returns GpaBuilder<Object>

Generated using TypeDoc