DEX
Build transactions to create pool of the given asset pair
post/v1/dex/pool
Request
- Base URLhttps://backend.swap.coffee
- Auth
- none
- or API key in header X-Api-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"user_wallet": "UQCNTO0Nh0Z7QNyRW1BLWfk08f2dAOw4izrx9sO6OUPg4DoV",
"asset_1": "native",
"asset_2": "EQCxE6mUtQJKFnGfaROTKOt1lZbDiiX1kCixRv7Nw2Id_sDs"
}Response
Transactions to be sent
Example response
{
"transactions": [
{
"message": {
"address": "EQCM3B12QK1e4yZSf8GtBRT0aLMNyEsBc_DhVfRRtOEffLez"
}
}
]
}Changes
No recorded changes to this operation across all 7 revisions of this API.