V2 is recommended for new liquidity integrations; V1 is legacy. See the V2 liquidity guides for concentrated liquidity positions.
Fetch all pools
List every V1 pool with reserves and token metadata from the REST API.
Check if a pool exists
Query the factory for an existing pool before creating one.
Pool creation fee
Fetch the current pool creation fee and convert it to HBAR.
Create a new pool
Create an HBAR-token or token-token pool with initial liquidity.
Get pool reserves
Read current reserves through the mirror node or JSON-RPC.
Track pool updates
Poll Sync events to follow reserve changes in near real time.
Adding liquidity
Add liquidity to an existing pool and receive LP tokens.
Removing liquidity
Withdraw your share of a pool, including fee-on-transfer tokens.