Retrieves the current Web3Config object from the IWeb3Service.
const config = useWeb3Config();console.log("Current chain:", config.network.id); Copy
const config = useWeb3Config();console.log("Current chain:", config.network.id);
Retrieves the current Web3Config object from the IWeb3Service.