Create Pool
POST /liquidity/pool
POST
/liquidity/pool
Create a new liquidity pool.
Authorizations
Request Body required
object
token0ContractDeploymentId
required
On-chain address of the first token in the pair
string
token1ContractDeploymentId
required
On-chain address of the second token in the pair
string
fee
required
Trading fee in basis points (e.g., 300 for 0.3%, 100 for 0.1%)
integer
rate
required
Initial exchange rate as how many units of token1 you get for 1 unit of token0
string
walletId
required
UUID of the wallet creating the pool
string format: uuid
name
required
Human readable name for the pool
string
description
required
Description of the pool purpose
string
Responses
200
Pool created successfully
object
queryId
ID of the create pool operation
string format: uuid
400
Bad Request
object
code
integer
400
message
string
Bad Request
details
string
Invalid input parameters