You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 9, 2025. It is now read-only.
import{TxBuilderV2,Network,Market}from'@aave/protocol-js'consthttpProvider=newWeb3.providers.HttpProvider(process.env.ETHEREUM_URL||"https://kovan.infura.io/v3/<project_id>");consttxBuilder=newTxBuilderV2(Network.main,httpProvider);lendingPool=txBuilder.getLendingPool(Market.main);// get all lending pool methods
...however this will later always produce empty transaction arrays and an error in the console that says "[LendingPoolValidator] You need to pass valid addresses".
It appears that Market.main and Network.main are both undefined!