curl --request GET \
--url https://backend.swap.coffee/v1/liquidity/migration/{user_address} \
--header 'X-Api-Key: <api-key>'[
{
"pool": {
"dex": "stonfi",
"address": "<string>",
"type": "public",
"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
],
"fees": {
"average_gas": 123,
"divider": 123,
"input": 123,
"output": 123,
"first_token": 123,
"second_token": 123
},
"amm_settings": {},
"restrictions": [
{
"min_swap_amount": 123,
"max_swap_amount": 123
}
],
"unavailable_until": 123
},
"total_lp_amount": "<string>",
"user_lp_amount": "<string>"
}
]curl --request GET \
--url https://backend.swap.coffee/v1/liquidity/migration/{user_address} \
--header 'X-Api-Key: <api-key>'[
{
"pool": {
"dex": "stonfi",
"address": "<string>",
"type": "public",
"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
],
"fees": {
"average_gas": 123,
"divider": 123,
"input": 123,
"output": 123,
"first_token": 123,
"second_token": 123
},
"amm_settings": {},
"restrictions": [
{
"min_swap_amount": 123,
"max_swap_amount": 123
}
],
"unavailable_until": 123
},
"total_lp_amount": "<string>",
"user_lp_amount": "<string>"
}
]List of pools from which user may migrate tokens
Show child attributes
"stonfi"
public, private, slumbering, invalid constant_product, cubic_stable, curve_fi_stable, concentrated_v3, tonstakers, weighted_constant_product, weighted_stable, bidask Show child attributes
Show child attributes
"ARBUZ"
"ARBUZ"
whitelisted, blacklisted, community, unknown UTC unix timestamp in seconds
Absolute value
Absolute value