Network Status Methods
Returns the Network this Provider is connected to.
await provider.getNetwork();
// {
// chainId: 290,
// name: 'mainnet'
// }
Last updated
Returns the Network this Provider is connected to.
await provider.getNetwork();
// {
// chainId: 290,
// name: 'mainnet'
// }
Last updated