Supply class

The total supply of tokens

Annotations
  • @JsonSerializable()

Constructors

Supply({required int total, required int circulating, required int nonCirculating, required List<String> nonCirculatingAccounts})
const
Supply.fromJson(Map<String, dynamic> json)
factory

Properties

circulating int
Circulating supply in lamports.
final
hashCode int
The hash code for this object.
no setterinherited
nonCirculating int
Non-circulating supply in lamports.
final
nonCirculatingAccounts List<String>
An array of account addresses of non-circulating accounts, as strings. If excludeNonCirculatingAccountsList is enabled, the returned array will be empty.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
total int
Total supply in lamports.
final

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