curl --request GET \
--url https://backend.swap.coffee/v1/liquidity/migration/pools/{source_pool_address} \
--header 'X-Api-Key: <api-key>'[
{
"total_lp_amount": "<string>",
"amm_type": "constant_product",
"tokens": [
{
"address": {
"blockchain": "ton",
"address": "native"
},
"metadata": {
"name": "ARBUZ",
"symbol": "ARBUZ",
"decimals": 123,
"listed": true,
"verification": "whitelisted",
"image_url": "<string>"
}
}
],
"reserves": [
123
],
"pool_action_type": "not_existing_pool",
"pool_address": "<string>",
"amm_settings": {}
}
]curl --request GET \
--url https://backend.swap.coffee/v1/liquidity/migration/pools/{source_pool_address} \
--header 'X-Api-Key: <api-key>'[
{
"total_lp_amount": "<string>",
"amm_type": "constant_product",
"tokens": [
{
"address": {
"blockchain": "ton",
"address": "native"
},
"metadata": {
"name": "ARBUZ",
"symbol": "ARBUZ",
"decimals": 123,
"listed": true,
"verification": "whitelisted",
"image_url": "<string>"
}
}
],
"reserves": [
123
],
"pool_action_type": "not_existing_pool",
"pool_address": "<string>",
"amm_settings": {}
}
]Address of the pool from non-coffee DEX
Possible pools to migrate LP
Absolute value
constant_product, cubic_stable, curve_fi_stable, concentrated_v3, tonstakers, weighted_constant_product, weighted_stable, bidask Show child attributes
not_existing_pool, existing_pool Show child attributes