Skip to main content
The app tracks an escrow fill with the order status endpoint; a direct fill has nothing to track. The app polls GET /order-status with the signature of the transaction that opened the escrow fill and the lastValidBlockHeight from the order response, until the status is terminal: expired, failed, or closed. At pendingClose nothing more can fill, and the app keeps polling until it is closed.
1

Set Up

2

Poll the Order Status Endpoint with Backoff

3

Handle Each Terminal Status

4

Total the Fills and Reverts