Account class
An account
- Annotations
-
- @JsonSerializable()
Constructors
- Account({required int lamports, required String owner, required AccountData? data, required bool executable, required BigInt rentEpoch})
-
const
-
Account.fromJson(Map<
String, dynamic> json) -
factory
Properties
- data → AccountData?
-
Data associated with the account, either as encoded binary
data or JSON format {
final
- executable → bool
-
Boolean indicating if the account contains a program (and
is strictly read-only)
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- lamports → int
-
Number of lamports assigned to this account, as a u64
final
- owner → String
-
base-58 encoded Pubkey of the program this account has been
assigned to
final
- rentEpoch → BigInt
-
The epoch at which this account will next owe rent, as u64
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited