POST
/
v2
/
eth
/
orders
Create Ethereum Order (Market/Limit)
curl --request POST \
  --url http://localhost:2400/v2/eth/orders \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "UserID": "<string>",
  "mode": "tab3",
  "target": "<string>",
  "price": 123,
  "selectedId": "<string>",
  "wallets": "<string>",
  "amount": 123,
  "takeProfitEnabled": false,
  "takeProfit": 123,
  "stopLossEnabled": false,
  "stopLoss": 123,
  "slippageOption": "99",
  "customSlippage": 123,
  "gasOption": "<string>",
  "customGas": 123,
  "mevDefenseEnabled": false,
  "rugDefenseEnabled": false,
  "maxBuyTaxEnabled": false,
  "maxBuyTax": 123,
  "maxSellTaxEnabled": false,
  "maxSellTax": 123,
  "blockOffset": 123,
  "spamTxnOption": "<string>"
}'
{
  "type": "update",
  "data": [
    {
      "wallet": "0xabc...",
      "status": "Processing",
      "message": "Processing market buy order"
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Response

200
text/event-stream

SSE stream initiated. Updates will be sent indicating progress (Initiated, Processing, Completed/Failed).

Structure of Server-Sent Event updates for order progress.