get https://api.amberdata.com/market/defi/liquidity//latest
Retrieves the latest liquidity information for the specified pool including both token liquidity prices.
Protocols Supported
This endpoint only supports Uniswap v2, Uniswap v3, Sushiswap and Balancer.
Note: For Balancer, we currently do not calculate
liquidityPrice
.
Blockchains Supported
This endpoint only supports data from
ethereum-mainnet
.
Response Data
Field | Type | Description |
---|---|---|
exchangeName | string | The name of the exchange (if available). |
exchangeId | string | The address of the exchange/pool. |
pair | string | The common name for the pair - name is not unique, use pairAddress instead. |
pairNormalized | string | The internal name for the pair - name is not unique, use pairAddress instead. |
pairAddress | string | The address of the pair. |
baseAddress | string | The address of the first underlying assert behind the pair. |
quoteAddress | string | The address of the last underlying assert behind the pair. |
address | string | The address of the asset for which this liquidity events is for (would be one of base or quote address). |
timestamp | string | The timestamp associated with this record. |
transactionHash | string | The hash of the transaction which included this liquidity event. |
transactionIndex | number | The index of the transaction which included this liquidity event. |
logIndex | number | The index of the log within the transaction which included this liquidity event. |
amount | number | The new amount of the underlying asset after this liquidity event. |
liquidityPrice | number | The new price of the underlying asset after this liquidity event. |