POST
/
v1
/
dex
/
pool
curl --request POST \
  --url https://backend.swap.coffee/v1/dex/pool \
  --header 'Content-Type: application/json' \
  --data '{
  "user_wallet": "UQCNTO0Nh0Z7QNyRW1BLWfk08f2dAOw4izrx9sO6OUPg4DoV",
  "asset_1": "native",
  "asset_2": "EQCxE6mUtQJKFnGfaROTKOt1lZbDiiX1kCixRv7Nw2Id_sDs",
  "asset_1_amount": "<string>",
  "asset_2_amount": "<string>"
}'
{
  "transactions": [
    {
      "address": "EQCM3B12QK1e4yZSf8GtBRT0aLMNyEsBc_DhVfRRtOEffLez",
      "value": "<string>"
    }
  ]
}

Authorizations

X-Api-Key
string
header
required

Body

application/json
user_wallet
string
required
asset_1
string
required
asset_2
string
required
asset_1_amount
string
required

Absolute value

asset_2_amount
string
required

Absolute value

Response

200
application/json
Transactions to be sent
transactions
object[]
required