Closed ecbtln closed 10 years ago
Use this API calls to get orders
also show a checkbox to filter whether or not to show expired, but default to false in UI
get_orders(filters={'field': 'address', 'op': '==', 'value': BTC_ADDRESS}})
then show order matches (only of specific addresses)
get_order_matches(filters={'field': 'address', 'op': '==', 'value': BTC_ADDRESS}, is_mine=True)
for the order matches, we only care about those that require BTCPay (one of the assets is BTC). We'll then separate the ones that we are awaiting payment for with the ones where we only have a certain amount of time to pay
b337845d914bc0015c1c25286bf00abbf99da914 fixes this
will be able to cancel any orders listed as open
will work between any two assets