POST
/
dammv2
/
initialize
cURL
curl --request POST \
  --url https://api.cleopetra.fun/dammv2/initialize \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "user": "<string>",
  "mode": "normal",
  "pool": "<string>",
  "amount_x": "<string>",
  "amount_y": "<string>",
  "amount_sol": "<string>",
  "slippage": 500,
  "platform_bps": 123,
  "platform_fee_account": "<string>"
}'
{
  "transactions": [
    "<string>"
  ],
  "position_nft_mint_kp": "<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 position NFT mint

The response is of type object.