TokenAccountData: {
    amount: bigint;
    closeAuthority: Option<PublicKey>;
    delegate: Option<PublicKey>;
    delegatedAmount: bigint;
    extensions: Option<Extension[]>;
    isNative: Option<bigint>;
    mint: PublicKey;
    owner: PublicKey;
    state: AccountState;
}

Type declaration

  • amount: bigint

    The amount of tokens this account holds.

  • closeAuthority: Option<PublicKey>

    Optional authority to close the account.

  • delegate: Option<PublicKey>

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

  • delegatedAmount: bigint

    The amount delegated.

  • extensions: Option<Extension[]>

    The extensions activated on the token account.

  • isNative: Option<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: AccountState

    The account's state.

Generated using TypeDoc