Type Alias AccountInfo<T>

AccountInfo<T>: {
    data: T;
    executable: boolean;
    lamports: number;
    owner: PublicKey;
    rentEpoch?: number;
}

Information describing an account

Type Parameters

  • T

Type declaration

  • data: T

    Optional data assigned to the account

  • executable: boolean

    true if this account's data contains a loaded program

  • lamports: number

    Number of lamports assigned to the account

  • owner: PublicKey

    Identifier of the program that owns the account

  • OptionalrentEpoch?: number

    Optional rent epoch info for account