TokenAccountDataArgs: {
    amount: number | bigint;
    closeAuthority: OptionOrNullable<PublicKey>;
    delegate: OptionOrNullable<PublicKey>;
    delegatedAmount: number | bigint;
    extensions: OptionOrNullable<ExtensionArgs[]>;
    isNative: OptionOrNullable<number | bigint>;
    mint: PublicKey;
    owner: PublicKey;
    state: AccountStateArgs;
}

Type declaration

  • amount: number | bigint

    The amount of tokens this account holds.

  • closeAuthority: OptionOrNullable<PublicKey>

    Optional authority to close the account.

  • delegate: OptionOrNullable<PublicKey>

    If delegate is Some then delegated_amount represents the amount authorized by the delegate.

  • delegatedAmount: number | bigint

    The amount delegated.

  • extensions: OptionOrNullable<ExtensionArgs[]>

    The extensions activated on the token account.

  • isNative: OptionOrNullable<number | bigint>

    If is_native.is_some, this is a native token, and the value logs the rent-exempt reserve. An Account is required to be rent-exempt, so the value is used by the Processor to ensure that wrapped SOL accounts do not drop below this threshold.

  • mint: PublicKey

    The mint associated with this account.

  • owner: PublicKey

    The owner of this account.

  • state: AccountStateArgs

    The account's state.

Generated using TypeDoc