curl --request POST \
--url https://backend.swap.coffee/v1/liquidity/migration/{user_address} \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '
{
"source_pool": "UQCNTO0Nh0Z7QNyRW1BLWfk08f2dAOw4izrx9sO6OUPg4DoV",
"source_lp": "<string>",
"min_destination_lp": "<string>",
"pool_action_type": "not_existing_pool",
"destination_pool": "UQCNTO0Nh0Z7QNyRW1BLWfk08f2dAOw4izrx9sO6OUPg4DoV"
}
'{
"query_id": 123,
"message": {
"payload_cell": "aSDinaTvuI8gbWludGxpZnk=",
"address": "EQCM3B12QK1e4yZSf8GtBRT0aLMNyEsBc_DhVfRRtOEffLez",
"value": "<string>",
"state_init": "aSDinaTvuI8gbWludGxpZnk=",
"extra": [
{
"id": 123,
"amount": "<string>"
}
]
}
}curl --request POST \
--url https://backend.swap.coffee/v1/liquidity/migration/{user_address} \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '
{
"source_pool": "UQCNTO0Nh0Z7QNyRW1BLWfk08f2dAOw4izrx9sO6OUPg4DoV",
"source_lp": "<string>",
"min_destination_lp": "<string>",
"pool_action_type": "not_existing_pool",
"destination_pool": "UQCNTO0Nh0Z7QNyRW1BLWfk08f2dAOw4izrx9sO6OUPg4DoV"
}
'{
"query_id": 123,
"message": {
"payload_cell": "aSDinaTvuI8gbWludGxpZnk=",
"address": "EQCM3B12QK1e4yZSf8GtBRT0aLMNyEsBc_DhVfRRtOEffLez",
"value": "<string>",
"state_init": "aSDinaTvuI8gbWludGxpZnk=",
"extra": [
{
"id": 123,
"amount": "<string>"
}
]
}
}"UQCNTO0Nh0Z7QNyRW1BLWfk08f2dAOw4izrx9sO6OUPg4DoV"
Absolute value
Absolute value
not_existing_pool, existing_pool If not passed, then volatile pool with source pool tokens will be created
"UQCNTO0Nh0Z7QNyRW1BLWfk08f2dAOw4izrx9sO6OUPg4DoV"
Transaction to be sent
Show child attributes
Base64-encoded cell. Treated as a payload field in TonConnect transaction.
"EQCM3B12QK1e4yZSf8GtBRT0aLMNyEsBc_DhVfRRtOEffLez"
Amount of nanotons to be sent. Can be passed to TonConnect transaction.
Base64-encoded cell. Treated as a stateInit field in TonConnect transaction.