Calculate TRC20 token transfer required energy in tron chain
To get the energy and bandwidth of a TRC20 token transfer in Node.js, you will need to interact with the Tron blockchain using the TronWeb library or a similar tool. TronWeb is a JavaScript library that allows you to interact with the Tron blockchain using Node.js.
Also axios, and [email protected] [ethers version 4.0.47]
step 1. https://github.com/akashhalder3/estimate-energy-trc20.git step 2. cd estimate-energy-trc20 step 3. npm i step 4. npm run start