GET
/
v1
/
liquidity
/
migration
/
pools
/
{source_pool_address}
curl --request GET \
  --url https://backend.swap.coffee/v1/liquidity/migration/pools/{source_pool_address}
[
  {
    "pool_address": "<string>",
    "total_lp_amount": "<string>",
    "amm_type": "constant_product",
    "tokens": [
      {
        "address": {
          "blockchain": "ton",
          "address": "native"
        },
        "metadata": {
          "name": "ARBUZ",
          "symbol": "ARBUZ",
          "decimals": 123,
          "image_url": "<string>",
          "listed": true
        }
      }
    ],
    "reserves": [
      123
    ],
    "pool_action_type": "not_existing_pool"
  }
]

Authorizations

X-Api-Key
string
header
required

Path Parameters

source_pool_address
string
required

Address of the pool from non-coffee DEX

Response

200
application/json
Possible pools to migrate LP
total_lp_amount
string
required

Absolute value

amm_type
enum<string>
required
Available options:
constant_product,
cubic_stable,
curve_fi_stable,
concentrated_v3,
tonstakers
tokens
object[]
required
reserves
number[]
required
pool_action_type
enum<string>
required
Available options:
not_existing_pool,
existing_pool
pool_address
string