Skip to main content

Eniblock.getNetworkInfo() method

Get the current blockchain Network Info from the provider

Signature:

getNetworkInfo(): Promise<ethers.providers.Network>;

Returns:

Promise<ethers.providers.Network>

a promise of the current network info