SearchTransactionsRequest class

SearchTransactionsRequest is used to search for transactions matching a set of provided conditions in canonical blocks.

Annotations
  • @immutable

Constructors

SearchTransactionsRequest(NetworkIdentifier networkIdentifier, String? operator, int? maxBlock, int? offset, int? limit, TransactionIdentifier? transactionIdentifier, AccountIdentifier? accountIdentifier, CoinIdentifier? coinIdentifier, Currency? currency, String? status, String? type, String? address, bool? success)
const
SearchTransactionsRequest.fromJson(Map<String, dynamic> map)
factory

Properties

accountIdentifier → AccountIdentifier?
final
address → String?
AccountIdentifier.address. This is used to get all transactions related to an AccountIdentifier.Address, regardless of SubAccountIdentifier.
final
coinIdentifier → CoinIdentifier?
final
currency → Currency?
final
hashCode → int
The hash code for this object.
no setterinherited
limit → int?
The maximum number of transactions to return in one call. The implementation may return <= limit transactions.
final
maxBlock → int?
The largest block index to consider when searching for transactions. If this field is not populated, the current block is considered he maxBlock. If you do not specify a maxBlock, it is possible a newly synced block will interfere with paginated transaction queries (as the offset could become invalid with newly added rows).
final
networkIdentifier → NetworkIdentifier
final
offset → int?
The offset into the query result to start returning transactions. If any search conditions are changed, the query offset will change and you must restart your search iteration.
final
operator → String?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
status → String?
The network-specific operation type.
final
success → bool?
A synthetic condition populated by parsing network-specific operation statuses (using the mapping provided in /network/options).
final
transactionIdentifier → TransactionIdentifier?
final
type → String?
The network-specific operation type.
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