Returns initilize position transaction(s) and signers.
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>" ] }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful response with transaction data and positions
The response is of type object.
object