Function useWeb3Config

Retrieves the current Web3Config object from the IWeb3Service.

const config = useWeb3Config();

console.log("Current chain:", config.network.id);