Skip to main content

Get Uniswap V2 pool information by pool address.

GET 

/:network/uniswap/pool-info-v2

Get Uniswap V2 pool information by pool address.

Request

Path Parameters

    network stringrequired

    Blockchain network name or chain id

Query Parameters

    pool_address stringrequired

    The address of the Uniswap pool contract.

    projectId stringrequired

    The id of your project. Can be found in your Histori dashboard.

Responses

Pool information retrieved successfully.

Schema

    network_name stringrequired

    The network name.

    chain_id numberrequired

    The chain ID of the network.

    pool_address stringrequired

    The pool address.

    pair_addresses stringrequired

    The token pair addresses.

    pair_symbols stringrequired

    The token pair symbols.

    rate stringrequired

    The exchange rate between the tokens.

    token0

    object

    required

    address stringrequired

    The token address.

    name stringrequired

    The name of the token.

    symbol stringrequired

    The symbol of the token.

    decimals stringrequired

    The number of decimals of the token.

    reserve stringrequired

    The reserve amount of the token in the pool.

    reserve_eth stringrequired

    The reserve amount of the token (denominated in ETH) in the pool.

    token1

    object

    required

    address stringrequired

    The token address.

    name stringrequired

    The name of the token.

    symbol stringrequired

    The symbol of the token.

    decimals stringrequired

    The number of decimals of the token.

    reserve stringrequired

    The reserve amount of the token in the pool.

    reserve_eth stringrequired

    The reserve amount of the token (denominated in ETH) in the pool.

Loading...