Typechain-guide
Common functions or variables available on terminal :
Libraries
- BigNumber
- axios
- DSA
- Web3
- wait
Constants
- MAINNET_TOKENS
- POLYGON_TOKENS
- AVALACHE_TOKENS
- ARBITRUM_TOKENS
- USER_ADDRESS
- ACCOUNT_ADDRESS
Library Instances
- Web3
- DSA
You can also use top level await -
Usually you need async wrapper in JS:
const run = async () => { const gas = await web3.eth.getGasPrice();}run() .then(() => console.log("Done")) .catch((error) => console.log(error.message))
But we have top level await, no need to any wrapper
const gas = await web3.eth.getGasPrice();
If you still can't find something you're looking for or have any questions, ask them at our developers community on Discord or simply send an Email.
Our team is excited about assisting you to build an application using Instadapp Developer Platform. Your questions and feedback help us make a better development environment for future developers.