curl --request POST \
--url https://backend.swap.coffee/v1/dex/pool \
--header 'Content-Type: application/json' \
--data '{
"user_wallet": "UQCNTO0Nh0Z7QNyRW1BLWfk08f2dAOw4izrx9sO6OUPg4DoV",
"asset_1": "native",
"asset_2": "EQCxE6mUtQJKFnGfaROTKOt1lZbDiiX1kCixRv7Nw2Id_sDs",
"asset_1_amount": "<string>",
"asset_2_amount": "<string>"
}'
{
"transactions": [
{
"query_id": 123,
"message": {
"address": "EQCM3B12QK1e4yZSf8GtBRT0aLMNyEsBc_DhVfRRtOEffLez",
"value": "<string>",
"extra": [
{
"id": 123,
"amount": "<string>"
}
]
}
}
]
}
curl --request POST \
--url https://backend.swap.coffee/v1/dex/pool \
--header 'Content-Type: application/json' \
--data '{
"user_wallet": "UQCNTO0Nh0Z7QNyRW1BLWfk08f2dAOw4izrx9sO6OUPg4DoV",
"asset_1": "native",
"asset_2": "EQCxE6mUtQJKFnGfaROTKOt1lZbDiiX1kCixRv7Nw2Id_sDs",
"asset_1_amount": "<string>",
"asset_2_amount": "<string>"
}'
{
"transactions": [
{
"query_id": 123,
"message": {
"address": "EQCM3B12QK1e4yZSf8GtBRT0aLMNyEsBc_DhVfRRtOEffLez",
"value": "<string>",
"extra": [
{
"id": 123,
"amount": "<string>"
}
]
}
}
]
}
Transactions to be sent
The response is of type object
.