AccountBalanceRequest class
An AccountBalanceRequest is utilized to make a balance request on the /account/balance endpoint. If the blockIdentifier is populated, a historical balance query should be performed.
- Annotations
-
- @immutable
Constructors
-
AccountBalanceRequest(NetworkIdentifier networkIdentifier, AccountIdentifier accountIdentifier, PartialBlockIdentifier? blockIdentifier, List<
Currency> ? currencies) -
const
-
AccountBalanceRequest.fromJson(Map<
String, dynamic> map) -
factory
Properties
- accountIdentifier → AccountIdentifier
-
final
- blockIdentifier → PartialBlockIdentifier?
-
final
-
currencies
→ List<
Currency> ? -
In some cases, the caller may not want to retrieve all available balances
for an AccountIdentifier. If the currencies field is populated,
only balances for the specified currencies will be returned.
If not populated, all available balances will be returned.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- networkIdentifier → NetworkIdentifier
-
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