v3

latestOpenAPI 3.0.32026-07-21128192192.7 KB
DEX

Build transactions to create pool of the given asset pair

post/v1/dex/pool

Request body

user_walletstring required
asset_1string required
asset_2string required
asset_1_amountstring required

Absolute value

asset_2_amountstring required

Absolute value

Example request

{
  "user_wallet": "UQCNTO0Nh0Z7QNyRW1BLWfk08f2dAOw4izrx9sO6OUPg4DoV",
  "asset_1": "native",
  "asset_2": "EQCxE6mUtQJKFnGfaROTKOt1lZbDiiX1kCixRv7Nw2Id_sDs"
}

Response

Transactions to be sent

Example response

{
  "transactions": [
    {
      "message": {
        "address": "EQCM3B12QK1e4yZSf8GtBRT0aLMNyEsBc_DhVfRRtOEffLez"
      }
    }
  ]
}