add orderBy parameter to TxsByEvents (#8815)
Co-authored-by: Alessio Treglia <alessio@tendermint.com> Co-authored-by: Jonathan Gimeno <jgimeno@gmail.com>
This commit is contained in:
co-authored by
Alessio Treglia
Jonathan Gimeno
parent
0711e16173
commit
adf5f625c1
@@ -515,6 +515,7 @@
|
||||
- [SimulateResponse](#cosmos.tx.v1beta1.SimulateResponse)
|
||||
|
||||
- [BroadcastMode](#cosmos.tx.v1beta1.BroadcastMode)
|
||||
- [OrderBy](#cosmos.tx.v1beta1.OrderBy)
|
||||
|
||||
- [Service](#cosmos.tx.v1beta1.Service)
|
||||
|
||||
@@ -7221,6 +7222,7 @@ RPC method.
|
||||
| ----- | ---- | ----- | ----------- |
|
||||
| `events` | [string](#string) | repeated | events is the list of transaction event type. |
|
||||
| `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | pagination defines an pagination for the request. |
|
||||
| `order_by` | [OrderBy](#cosmos.tx.v1beta1.OrderBy) | | |
|
||||
|
||||
|
||||
|
||||
@@ -7293,6 +7295,19 @@ BroadcastMode specifies the broadcast mode for the TxService.Broadcast RPC metho
|
||||
| BROADCAST_MODE_ASYNC | 3 | BROADCAST_MODE_ASYNC defines a tx broadcasting mode where the client returns immediately. |
|
||||
|
||||
|
||||
|
||||
<a name="cosmos.tx.v1beta1.OrderBy"></a>
|
||||
|
||||
### OrderBy
|
||||
OrderBy defines the sorting order
|
||||
|
||||
| Name | Number | Description |
|
||||
| ---- | ------ | ----------- |
|
||||
| ORDER_BY_UNSPECIFIED | 0 | ORDER_BY_UNSPECIFIED specifies an unknown sorting order. OrderBy defaults to ASC in this case. |
|
||||
| ORDER_BY_ASC | 1 | ORDER_BY_ASC defines ascending order |
|
||||
| ORDER_BY_DESC | 2 | ORDER_BY_DESC defines descending order |
|
||||
|
||||
|
||||
<!-- end enums -->
|
||||
|
||||
<!-- end HasExtensions -->
|
||||
|
||||
Reference in New Issue
Block a user