Skip to main content
The order settler is called by the transaction script when something is executed on the exchange. It calls Sway’s built-in log function to create a reciept that can be seen by an indexer. Below is something resembling the order settler code for Sail Exchange:
order_settler.sw