AccountBalanceRequest class

An AccountBalanceRequest is utilized to make a balance request on the /account/balance endpoint. If the block_identifier is populated, a historical balance query should be performed.

Constructors

AccountBalanceRequest(NetworkIdentifier network_identifier, AccountIdentifier account_identifier, PartialBlockIdentifier? block_identifier, List<Currency>? currencies)
AccountBalanceRequest.fromMap(Map<String, dynamic> map)
factory

Properties

account_identifier AccountIdentifier
getter/setter pair
block_identifier PartialBlockIdentifier?
getter/setter pair
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.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
network_identifier NetworkIdentifier
getter/setter pair
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