Taker API
Taker
Get Open Orders
The chainId of the network to query.
The token address of the asset which the Taker expects in return.
The token address of the asset which the Taker is exchanging.
OK
The response code.
Server response message.
Bad Request
- Missing required fields
Internal Server Error
- Error when get price from Price Service
Get Operator Signature
The chainId on which the order is being filled. Only supports EVM chains.
The order IDs to be cancelled gaslessly.
OK
The response code.
Server response message.
Bad Request
- Missing required fields
- Orders don't have the same maker or chainId
Not Found
- Not found order
Conflict
- Duplicate orderId in request
Internal Server Error
Encode Fill Order
The ID of the order to be filled.
The amount of takerAsset in wei. String representation of uint256 value.
If thresholdAmount != 0, the order will be filled if and only if (actualTakingAmount / actualMakingAmount) <= (thresholdAmount / requestedMakingAmount).
The Taker wallet address which will receive the makerAsset.
The Operator signature obtained from /read-partner/api/v1/orders/operator-signature. The order must be signed by the operator before it can be filled.
OK
The response code.
Server response message.
Bad Request
- Missing required fields
- orderId is invalid format
- takingAmount, thresholdAmount is not uint256
- target is not ETH address
Not Found
- Not found orderId
Internal Server Error
Encode Fill Batch Orders
The order IDs to be filled in the batch order.
The amount of takerAsset in wei. String representation of uint256 value.
If thresholdAmount != 0, the order will be filled if and only if (actualTakingAmount / actualMakingAmount) <= (thresholdAmount / requestedMakingAmount).
The Taker wallet address which will receive the makerAsset.
The Operator signature obtained from /read-partner/api/v1/orders/operator-signature. The order must be signed by the operator before it can be filled. Operator signature order must match orderIds.
OK
The response code.
Server response message.
Bad Request
- Missing required fields
- takingAmount, thresholdAmount is not uint256
- target is not ETH address
Not Found
- Not found order
Conflict
- Duplicate order ids in request
Internal Server Error
Last updated
Was this helpful?