API Reference

Before interacting with the blockchain, you need to initialize the network's RPC node.


//The code creates an instance of Erc20Helper by passing the RPC_URL.
//This allows the erc20Helper object to connect to the specified RPC node for interacting with the Ethereum network.

Erc20Helper erc20Helper = new Erc20Helper("JSON_RPC_URL");

//The code creates an instance of Trc20Helper by passing the RPC_URL as the RPC node URL parameter. 
//This allows the trc20Helper object to connect to the specified TRON network node for interacting with the TRON blockchain.

Trc20Helper trc20Helper = new Trc20Helper("JSON_RPC_URL");