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

Implements

Constructors

Properties

bump: number
creator: PublicKey
ephemeralSignerBumps: Uint8Array
index: bignum
multisig: PublicKey
vaultBump: number
vaultIndex: number

Methods

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

    Returns {
        bump: number;
        creator: string;
        ephemeralSignerBumps: Uint8Array;
        index: number | {
            toNumber: (() => number);
        };
        message: VaultTransactionMessage;
        multisig: string;
        vaultBump: number;
        vaultIndex: number;
    }

    • bump: number
    • creator: string
    • ephemeralSignerBumps: Uint8Array
    • index: number | {
          toNumber: (() => number);
      }
    • message: VaultTransactionMessage
    • multisig: string
    • vaultBump: number
    • vaultIndex: number
  • Fetches the minimum balance needed to exempt an account holding VaultTransaction data from rent

    Parameters

    • args: VaultTransactionArgs

      need to be provided since the byte size for this account depends on them

    • connection: Connection

      used to retrieve the rent exemption information

    • Optional commitment: Commitment

    Returns Promise<number>

Generated using TypeDoc