AccountCoinsRequest class

AccountCoinsRequest is utilized to make a request on the /account/coins endpoint.

Annotations
  • @immutable

Constructors

AccountCoinsRequest(NetworkIdentifier networkIdentifier, AccountIdentifier accountIdentifier, bool includeMempool, List<Currency>? currencies)
const
AccountCoinsRequest.fromJson(Map<String, dynamic> map)
factory

Properties

accountIdentifier AccountIdentifier
final
currencies List<Currency>?
In some cases, the caller may not want to retrieve coins for all currencies for an AccountIdentifier. If the currencies field is populated, only coins for the specified currencies will be returned. If not populated, all unspent coins will be returned.
final
hashCode int
The hash code for this object.
no setterinherited
includeMempool bool
Include state from the mempool when looking up an account's unspent coins. Note, using this functionality breaks any guarantee of idempotency.
final
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