Fill A Limit Order
Take Limit Orders From The Market
Limit order execution
KyberSwap users can place a Limit Order through the interface at KyberSwap with no gas fee
Anyone can fetch these off-chain signed orders using Limit Order API to perform trade by filling the order on-chain
To fill the order, the taker can call the
fillOrder
,fillOrderTo
,fillBatchOrderTo
orfillOrderToWithPermit
function on the Smart Contract.
Note
Trades buyer and seller should approve their tokens to be used by KyberSwap limit order contract
Please refer to Limit Order Contract Addresses for the latest contract addresses
The encoding API can be used to make it easier. In the case of fillBatchOrderTo
, KyberSwap's encoding API even returns encodeData so that better orders will be filled first.
Last updated