Maker APIs
KyberSwap Limit Order Maker APIs
Last updated
Was this helpful?
KyberSwap Limit Order Maker APIs
Last updated
Was this helpful?
Get signing message to sign to create order. The response of this API will be used when signing order with Sign Typed Data v4 before Creating New Order API
/write/api/v1/orders/sign-message
Defines who will be received token when the order is filled
Default: equal to maker
Defines who will be able to fill the order
Amount of makerToken paid by the taker to the feeRecipient
. For example, 20% = 0.2 -> makerTokenFeePercent = 0.2 * 10000 = 2000
Format: uint32
Timestamp in seconds
/read-ks/api/v1/orders
Support only EVM compatible blockchains.
The address of the maker, and signer of orders
The status of the order
active
, open
, partially_filled
, closed
, filled
, cancelled
, expired
Token symbol or token address. Search prefix for symbol, search exact for address
Number of pages to return. Minimum and default is set at 1
Number of results to display per page. Minimum is 1
and maximum is 50
. Default is 10
.
API to create new order for partners/makers
/write/api/v1/orders
Support only EVM compatible blockchains.
The address of the token you want to sell.
The address of the token you want to buy
The address of the maker, and signer, of this order.
Address which will receive takerAsset from taker.
Default: equal to maker
Allowed addresses to call LimitOrder() function. These addresses is the same as taker
The amount of makerToken being sold by the maker. Format: uint256
The amount of takerToken being sold by the taker Format: uint256
Recipient of maker token or taker token fees (if non-zero)
Amount of makerToken paid by the taker to the feeRecipient
. For example, 20% = 0.2 -> makerTokenFeePercent = 0.2 * 10000 = 2000
Format: uint32
Timestamp in seconds
The salt of order - returned from Get signing order message API
Signed by maker
Get total making amount of a maker which is able to be sold to takers
/read-ks/api/v1/orders/active-making-amount
Support only EVM compatible blockchains.
The address of the token you want to sell
The address of the maker, and signer, of this order.