Skip to main content
POST
/
dammv2
/
initialize
cURL
curl --request POST \
  --url https://public-api.cleopetra.fun/dammv2/initialize \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "user": "<string>",
  "mode": "normal",
  "pool": "<string>",
  "slippage": 500,
  "amount_x": "<string>",
  "amount_y": "<string>",
  "amount_sol": "<string>",
  "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
user
string
required
mode
enum<string>
default:normal
required
Available options:
normal,
zap
pool
string
required
slippage
number
default:500
required
amount_x
string
amount_y
string
amount_sol
string
platform_bps
number
platform_fee_account
string

Response

200 - application/json

Successful response

transactions
string[]
required
position_nft_mint_kp
string
required