Get Pool Reserves
Get current reserves for one or many pools.
Below are the common methods to get the current liquidity reserves:
Getting the reserves data for a liquidity pool using SaucerSwap's REST API is also a suitable alternative. For more information, see Get liquidity pool reserves (V1). The pool metadata includes the reserve data.
To track updates to liquidity pool reserves in near real-time, see Track LP updates (V1).
Get Pool Reserves via REST API
Fetch all HTS token balances for a pool via Mirror Node's REST API.
Code Overview
Get Pool Reserves via JSON RPC
Fetch all HTS token balances for a pool using the getReserves() solidity function via Mirror Node's JSON RPC Relay.
Function name: getReserves
⛽ No gas cost
Code Overview
Last updated