Retrieves the total number of liquidity pools from the Soroswap Factory contract's storage, returning the total number of pairs.
If the contract data cannot be read.
A promise that resolves to the total number of liquidity pools.
Retrieves the total number of liquidity pools from the Soroswap Factory contract's storage, returning the total number of pairs.
Throws
If the contract data cannot be read.