Verifying with Orderbook API Services

  • To check that the invalidation was picked up by our orderbook via the API service

  • In the Orderbook API, select the appropriate network from the servers dropdown at the top of the page (for this tutorial we have selected our local instance)

  • Navigate to GET orders/{UID} where you can fetch orders by UID. Click on "Try it out", paste your OrderUid in the corresponding field and click "Execute"

  • You should see your order data and can verify that the order has been invalidated by finding "invalidated": true as part of this order data!

Congratulations!! You have successfully invalidated your order onchain!

Last updated