Get Uniswap V3 pool information by pool address.
GET/:network/uniswap/pool-info-v3
Get Uniswap V3 pool information by pool address.
Request
Path Parameters
Blockchain network name or chain id
Query Parameters
The address of the Uniswap pool contract.
The id of your project. Can be found in your Histori dashboard.
Responses
- 200
- 400
- 404
Pool information retrieved successfully.
- application/json
- Schema
- Example (from schema)
Schema
The network name.
The chain ID of the network.
The pool address.
The token pair addresses.
The token pair symbols.
The exchange rate between the tokens.
Fee tier of the pool (e.g., 500, 3000, 10000). corresponding to 0.05%, 0.3% adn 1%
Fee tier of the pool (e.g., 500, 3000, 10000). corresponding to 0.05%, 0.3% adn 1%
Liquidity of the pool
The liquidity of the pool (denominated in ETH).
token0
object
required
The token address.
The name of the token.
The symbol of the token.
The number of decimals of the token.
token1
object
required
The token address.
The name of the token.
The symbol of the token.
The number of decimals of the token.
{
"network_name": "eth-mainnet",
"chain_id": 1,
"pool_address": "0x8ad599c3a0ff1de082011efddc58f1908eb6e6d8",
"pair_addresses": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48/0x6b175474e89094c44da98b954eedeac495271d0f",
"pair_symbols": "USDC/DAI",
"rate": "1.002345",
"fee": "500",
"fee_percentage": "0.05%",
"liquidity": "10000000000000000000",
"liquidity_eth": "10",
"token0": {
"address": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
"name": "USD Coin",
"symbol": "USDC",
"decimals": "6"
},
"token1": {
"address": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
"name": "USD Coin",
"symbol": "USDC",
"decimals": "6"
}
}
Invalid request or pool address.
Pool not found or invalid contract.