SearchTransactionsResponse class

SearchTransactionsResponse contains an ordered collection of BlockTransactions that match the query in SearchTransactionsRequest. These BlockTransactions are sorted from most recent block to oldest block.

Annotations
  • @immutable

Constructors

SearchTransactionsResponse(List<BlockTransaction> transactions, int? totalCount, int? nextOffset)
const
SearchTransactionsResponse.fromJson(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
nextOffset → int?
The next offset to use when paginating through transaction results. If this field is not populated, there are no more transactions to query.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
totalCount → int?
final
transactions → List<BlockTransaction>
A list of BlockTransactions sorted by most recent BlockIdentifier (meaning that transactions in recent blocks appear first). If there are many transactions for a particular search, transactions may not contain all matching transactions. It is up to the caller to paginate these transactions using the maxBlock field.
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