diff --git a/src/ProximaX.Sirius.Chain.Sdk/Infrastructure/AccountHttp.cs b/src/ProximaX.Sirius.Chain.Sdk/Infrastructure/AccountHttp.cs index 806edeaf..95f3f9af 100644 --- a/src/ProximaX.Sirius.Chain.Sdk/Infrastructure/AccountHttp.cs +++ b/src/ProximaX.Sirius.Chain.Sdk/Infrastructure/AccountHttp.cs @@ -387,7 +387,7 @@ public IObservable OutgoingTransactions(PublicAccount account switch (query.Order) { case Order.ASC: - route = route.SetQueryParam("ordering", "-id"); + route = route.SetQueryParam("ordering", "id"); route = route.SetQueryParam("block", "meta.height"); break; @@ -615,4 +615,4 @@ public IObservable GetMultisigAccountGraphInfo(PublicA #endregion MultiSig Account } -} \ No newline at end of file +} diff --git a/src/ProximaX.Sirius.Chain.Sdk/Infrastructure/BlockHttp.cs b/src/ProximaX.Sirius.Chain.Sdk/Infrastructure/BlockHttp.cs index 16d7886e..00ae7d2f 100644 --- a/src/ProximaX.Sirius.Chain.Sdk/Infrastructure/BlockHttp.cs +++ b/src/ProximaX.Sirius.Chain.Sdk/Infrastructure/BlockHttp.cs @@ -211,7 +211,7 @@ public IObservable GetBlockTransactions(ulong height, Transac switch (query.Order) { case Order.ASC: - route = route.SetQueryParam("ordering", "-id"); + route = route.SetQueryParam("ordering", "id"); route = route.SetQueryParam("block", "meta.height"); break; @@ -230,4 +230,4 @@ public IObservable GetBlockTransactions(ulong height, Transac return Observable.FromAsync(async ar => await route.GetJsonAsync()).Select(t => TransactionSearchMapping.Apply(t)); } } -} \ No newline at end of file +} diff --git a/src/ProximaX.Sirius.Chain.Sdk/Infrastructure/TransactionHttp.cs b/src/ProximaX.Sirius.Chain.Sdk/Infrastructure/TransactionHttp.cs index e5048842..888419db 100644 --- a/src/ProximaX.Sirius.Chain.Sdk/Infrastructure/TransactionHttp.cs +++ b/src/ProximaX.Sirius.Chain.Sdk/Infrastructure/TransactionHttp.cs @@ -288,7 +288,7 @@ public IObservable SearchTransactions(TransactionGroupType tr switch (query.Order) { case Order.ASC: - route = route.SetQueryParam("ordering", "-id"); + route = route.SetQueryParam("ordering", "id"); route = route.SetQueryParam("block", "meta.height"); break; @@ -307,4 +307,4 @@ public IObservable SearchTransactions(TransactionGroupType tr return Observable.FromAsync(async ar => await route.GetJsonAsync()).Select(t => TransactionSearchMapping.Apply(t)); } } -} \ No newline at end of file +}