AccountInfo

public struct AccountInfo : Codable

Information associated with a given account.

  • Number of lamports assigned to this account.

    Declaration

    Swift

    public let lamports: UInt64
  • Pubkey of the program this account has been assigned to.

    Declaration

    Swift

    public let owner: Base58
  • Data associated with the account, may be binary blobs or JSON that must be decoded separately.

    Declaration

    Swift

    public let data: [String : Data]
  • Indicates if the account owns a program.

    Declaration

    Swift

    public let executable: Bool
  • The epoch at which this account will next owe rent.

    Declaration

    Swift

    public let rentEpoch: UInt64