SearchTransactionsRequest class
SearchTransactionsRequest is used to search for transactions matching a set of provided conditions in canonical blocks.
Constructors
- SearchTransactionsRequest(NetworkIdentifier network_identifier, String? operator, int? max_block, int? offset, int? limit, TransactionIdentifier? transaction_identifier, AccountIdentifier? account_identifier, CoinIdentifier? coin_identifier, Currency? currency, String? status, String? type, String? address, bool? success)
-
SearchTransactionsRequest.fromMap(Map<
String, dynamic> map) -
factory
Properties
- account_identifier ↔ AccountIdentifier?
-
getter/setter pair
- address ↔ String?
-
address is AccountIdentifier.Address. This is used to get all transactions related to an AccountIdentifier.Address, regardless of SubAccountIdentifier.
getter/setter pair
- coin_identifier ↔ CoinIdentifier?
-
getter/setter pair
- currency ↔ Currency?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- limit ↔ int?
-
limit is the maximum number of transactions to return in one call. The implementation may return <= limit transactions.
getter/setter pair
- max_block ↔ int?
-
max_block is the largest block index to consider when searching for transactions. If this field is not populated, the current block is considered the max_block. If you do not specify a max_block, it is possible a newly synced block will interfere with paginated transaction queries (as the offset could become invalid with newly added rows).
getter/setter pair
- network_identifier ↔ NetworkIdentifier
-
getter/setter pair
- offset ↔ int?
-
offset is 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.
getter/setter pair
- operator ↔ String?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status ↔ String?
-
status is the network-specific operation type.
getter/setter pair
- success ↔ bool?
-
success is a synthetic condition populated by parsing network-specific operation statuses (using the mapping provided in
/network/options
).getter/setter pair - transaction_identifier ↔ TransactionIdentifier?
-
getter/setter pair
- type ↔ String?
-
type is the network-specific operation type.
getter/setter pair
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