Skip to main content
POST
Build transaction to migrate LP to swap.coffee DEX

Authorizations

X-Api-Key
string
header
required

Path Parameters

user_address
string
required

Body

application/json
source_pool
string
required
Example:

"UQCNTO0Nh0Z7QNyRW1BLWfk08f2dAOw4izrx9sO6OUPg4DoV"

source_lp
string
required

Absolute value

min_destination_lp
string
required

Absolute value

pool_action_type
enum<string>
required
Available options:
not_existing_pool,
existing_pool
destination_pool
string

If not passed, then volatile pool with source pool tokens will be created

Example:

"UQCNTO0Nh0Z7QNyRW1BLWfk08f2dAOw4izrx9sO6OUPg4DoV"

Response

Transaction to be sent

query_id
integer<int64>
required
message
object
required