You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: api/src/main/resources/rosetta-specifications-1.4.15/api.yaml
+24Lines changed: 24 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -2113,6 +2113,30 @@ components:
2113
2113
success:
2114
2114
type: boolean
2115
2115
description: success is a synthetic condition populated by parsing network-specific operation statuses (using the mapping provided in `/network/options`).
2116
+
SearchTransactionsResponse:
2117
+
description: SearchTransactionsResponse contains an ordered collection of BlockTransactions that match the query in SearchTransactionsRequest. These BlockTransactions are sorted from most recent block to oldest block.
2118
+
type: object
2119
+
required:
2120
+
- transactions
2121
+
- total_count
2122
+
properties:
2123
+
transactions:
2124
+
type: array
2125
+
description: transactions is an array 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 max_block field.
2126
+
items:
2127
+
$ref: '#/components/schemas/BlockTransaction'
2128
+
total_count:
2129
+
description: total_count is the number of results for a given search. Callers typically use this value to concurrently fetch results by offset or to display a virtual page number associated with results.
2130
+
type: integer
2131
+
format: int64
2132
+
minimum: 0
2133
+
example: 5
2134
+
next_offset:
2135
+
description: next_offset is the next offset to use when paginating through transaction results. If this field is not populated, there are no more transactions to query.
2136
+
type: integer
2137
+
format: int64
2138
+
minimum: 0
2139
+
example: 5
2116
2140
Error:
2117
2141
description: Instead of utilizing HTTP status codes to describe node errors (which often do not have a good analog), rich errors are returned using this object. Both the code and message fields can be individually used to correctly identify an error. Implementations MUST use unique values for both fields.
0 commit comments