fetch_pair_details

Documentation for eth_defi.uniswap_v2.pair.fetch_pair_details function.

fetch_pair_details(web3, pair_contact_address)[source]

Get pair info for PancakeSwap, others.

Parameters
  • web3 – Web3 instance

  • pair_contact_address (Union[str, HexAddress]) – Smart contract address of trading pair

Return type

eth_defi.uniswap_v2.pair.PairDetails