Skip to content

Create a new liquidity pool

POST
/v2/liquidity/pool

Create a brand new liquidity pool with initial parameters.

X-API-Key
string

API Key

X-API-Secret
string

API Secret

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%)

number
>= 1 <= 10000
rate
required

Initial exchange rate as: how many units of token1 you get for 1 unit of token0. Must account for both tokens’ decimal places.

string
1850750000000000000000000
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

Created pool details

object
poolId
required

UUID of the liquidity pool

string
poolInfo
required

Current pool state and pricing information

object
token0Symbol
required

Token symbol for token0 (e.g., “USDC”)

string
token1Symbol
required

Token symbol for token1 (e.g., “ETH”)

string
token0Reserve
required

Current amount of token0 in the pool

string
token1Reserve
required

Current amount of token1 in the pool

string
token0Price
required

Exchange rate: How much token1 you get for 1 token0

string
token1Price
required

Exchange rate: How much token0 you get for 1 token1

string
totalLiquidity
required

Total value of LP tokens in circulation

string
tvlUsd
required

Total value locked in USD

string
volume24h
required

Trading volume in the last 24 hours in USD

string

Bad Request

Unauthorized

Forbidden

Not Found

Internal Server Error