DELETE
/
v1
/
dex
/
pool
/
{address}
curl --request DELETE \
  --url https://backend.swap.coffee/v1/dex/pool/{address} \
  --header 'Content-Type: application/json' \
  --data '{
  "user_wallet": "UQCNTO0Nh0Z7QNyRW1BLWfk08f2dAOw4izrx9sO6OUPg4DoV",
  "lp_amount": "<string>"
}'
{
  "address": "EQCM3B12QK1e4yZSf8GtBRT0aLMNyEsBc_DhVfRRtOEffLez",
  "value": "<string>"
}

Authorizations

X-Api-Key
string
header
required

Path Parameters

address
string
required

Body

application/json
user_wallet
string
required
lp_amount
string
required

Absolute value

Response

200
application/json
Transaction to be sent
payload_cell
file
required

Base64-encoded cell. Treated as a payload field in TonConnect transaction.

address
string
required
value
string
required

Amount of nanotons to be sent. Can be passed to TonConnect transaction.

state_init
file

Base64-encoded cell. Treated as a stateInit field in TonConnect transaction.