Fill a Limit Order
Our protocol utilization package is available for developers to generate, parse, sign and validate 0x orders.
These are the basic functions for filling a 0x Limit Order:
- Fills a 0x Limit Order up to the amount requested
- Fills exactly the amount requested or reverts
Additionally, the IBatchFillNativeOrdersFeature.sol is a feature for batch/market filling limit and RFQ orders.
Python - Python RFQ Guide covers how to create, hash, sign, fill, get state, and cancel a 0x RFQ Order. Note that the code can be modified by making minor modifications, to also work for 0x Limit Orders.