Search…
liquidityPools()
This function is in the BancorNetwork.sol contract.

Function liquidityPools()

NetworkSettings.sol
1
function liquidityPools() external view returns (Token[] memory)
Copied!
This function gets a list of all available liquidity pools on the Bancor Network.

Return Variables

The function returns a list of all token contract addresses that have a liquidity pool on Bancor.
Variable Type
Returns
list
The returned list includes the token addresses of available liquidity pools. Example response: 0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee, 0x6b175474e89094c44da98b954eedeac495271d0f, 0x514910771af9ca656af840dff83e8264ecf986ca address[]
Note that the addresses returned are for the base tokens, not the contract addresses of Bancor pool tokens (bnTokens).