Fill a Limit Order
0x Limit Orders may be filled by calling the following methods on the Exchange Proxy.
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
Typescript - 0x Starter Project comes with a number of limit order scenarios including the Fill ERC20 limit order scenario.
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.