Place single order

Places a single limit order. Send the order parameters (token, side, price, amount) together with the EIP-712-signed CTF Exchange order object produced by the…

POSThttps://mgapi.forkast.gg/api/v1/order/place/v3

Places a single limit order. Send the order parameters (token, side, price, amount) together with the EIP-712-signed CTF Exchange order object produced by the SDK's order-signature helper.

Loading code example
Loading code example

Authorizations

Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

tokenIdstringrequired
sideintegerrequired
pricestringrequired
amountstringrequired
typeintegerrequired
expiredAtintegerrequired
orderobjectrequired
order.saltstringrequired
order.makerstringrequired
order.signerstringrequired
order.takerstringrequired
order.tokenIdstringrequired
order.makerAmountstringrequired
order.takerAmountstringrequired
order.expirationstringrequired
order.noncestringrequired
order.feeRateBpsstringrequired
order.sideintegerrequired
order.signatureTypeintegerrequired
order.signaturestringrequired

Response

application/json

Order placed

successboolean
orderResultobject
orderResult.dataarray<object>
errorstring