Skip to content

Add liquidity to a pool

POST
/v2/liquidity/add
object
poolId
required

UUID of the pool to add liquidity to

string
walletId
required

UUID of the wallet providing the liquidity

string
token0Amount
required

Amount of token0 to deposit into the pool

string
token1Amount
required

Amount of token1 to deposit into the pool

string

Liquidity added successfully

object
transactionId
required

UUID of the transaction

string
poolId
required

UUID of the pool

string
walletId
required

UUID of the wallet that performed the action

string
type
required

Whether liquidity was added or removed

string
token0Amount
required

Amount of token0 added or removed

string
token1Amount
required

Amount of token1 added or removed

string
lpTokenAmount
required

Amount of LP tokens minted or burned

string
status
required

Current state of the transaction

string
timestamp
required

When the transaction was initiated

string