AccountCoinsResponse class

AccountCoinsResponse is returned on the /account/coins endpoint and includes all unspent Coins owned by an AccountIdentifier.

Constructors

AccountCoinsResponse(BlockIdentifier block_identifier, List<Coin> coins, Map<String, dynamic>? metadata)
AccountCoinsResponse.fromMap(Map<String, dynamic> map)
factory

Properties

block_identifier BlockIdentifier
getter/setter pair
coins List<Coin>
If a blockchain is UTXO-based, all unspent Coins owned by an account_identifier should be returned alongside the balance. It is highly recommended to poputhis field so that users of the Rosetta API implementation don't need to maintain their own indexer to track their UTXOs.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
metadata Map<String, dynamic>?
Account-based blockchains that utilize a nonce or sequence number should include that number in the metadata. This number could be unique to the identifier or global across the account address.
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