POST
/
dlmm
/
initialize
cURL
curl --request POST \
  --url https://api.cleopetra.fun/dlmm/initialize \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "user": "<string>",
  "mode": "zap",
  "pool": "<string>",
  "strategy": "bid_ask",
  "amount_x": "<string>",
  "amount_y": "<string>",
  "amount_sol": "<string>",
  "min_price": 123,
  "max_price": 123,
  "platform_fee_account": "<string>",
  "platform_bps": 123,
  "slippage": 500
}'
{
  "transactions": [
    "<string>"
  ],
  "positions": [
    "<string>"
  ]
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Response

200 - application/json

Successful response with transaction data and positions

The response is of type object.