uniswap_v3_distribution

GET http://api.fibonacci.fi/whirlpool_distribution/{poolid}

This API is used to retrieve the liquidity and position data for a given Uniswap V3 Liquidity Pool.

Te output is a list a positions.

In the output, lb is lower bound of he position, ub is upper bound, amt_t0 is the amount of token 1 in the position, amt_t1 is the amount of token 2 in the position.

Path Parameters

Example

Request

http://api.fibonacci.fi/uniswapv3_distribution/0x8ad599c3a0ff1de082011efddc58f1908eb6e6d8"

Response

[
{"lb": 1667.7516626978834, "ub": 1248.934600912717, "amt_t0": 0.004979912453287421, "amt_t1": 2.218009528486899e-05}, 
{"lb": 1667.7516626978834, "ub": 1197.5681614494179, "amt_t0": 165.2186122684851, "amt_t1": 0.6491583908742903}, 
{"lb": 1667.7516626978834, "ub": 1141.445416288829, "amt_t0": 0.3163413852177572, "amt_t1": 0.0010983147728566213}
...
]

Last updated