get_pool_reserves
Get raw pool reserves for a pair on every indexed venue: token balances, fee, implied price, and TVL at a given block height. Ideal for custom calculations.
Instructions
Raw pool reserves for a pair on every indexed venue: the two token balances, the pool fee in bps, the implied price from those reserves and the pool TVL, all read at one block height which is returned with the answer. This is the underlying data the price, depth and slippage tools are computed from — use it when you want to do your own maths rather than take ours.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pair | Yes | Pair as SYM/SYM, e.g. WBNB/USDT. Either side may be a 0x address. | |
| chain | No | Chain to query. Defaults to bsc. |