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
When trying to build a list of all DEX matching transactions for an Omni Core wallet, the omni_gettradehistoryforaddress method is very useful. However, in order to get a timestamp for each matching transaction an additional call for each match must be made to get the transaction (block) time.
Adding a blocktime property to each object in the matches array would eliminate the need for these extra calls. (The blocktime property in the root object is the blocktime for the sell offer, but we also need the time for each matching transaction.)
It might also make sense to add a blocktime property to each match in the response to omni_gettradehistoryforpair.
The text was updated successfully, but these errors were encountered:
Pull request description:
This pull request adds `blocktime` to `omni_gettrade`, `omni_gettradehistoryforaddress` and `omni_gettradehistoryforpair`.
This resolves#1264.
counos
pushed a commit
to CounosH/counoslayer
that referenced
this issue
Sep 27, 2023
Pull request description:
This pull request adds `blocktime` to `omni_gettrade`, `omni_gettradehistoryforaddress` and `omni_gettradehistoryforpair`.
This resolvesOmniLayer#1264.
# Conflicts:
# src/counoscore/rpc.cpp
When trying to build a list of all DEX matching transactions for an Omni Core wallet, the
omni_gettradehistoryforaddress
method is very useful. However, in order to get a timestamp for each matching transaction an additional call for each match must be made to get the transaction (block) time.Adding a
blocktime
property to each object in thematches
array would eliminate the need for these extra calls. (Theblocktime
property in the root object is theblocktime
for the sell offer, but we also need the time for each matching transaction.)It might also make sense to add a
blocktime
property to each match in the response toomni_gettradehistoryforpair
.The text was updated successfully, but these errors were encountered: