name
and chainId
.
Parameter | Type | Description |
---|---|---|
name | string | The network name. |
chainId | BigNumberish | The network chain ID. |
Network
Parameter | Type | Description |
---|---|---|
value | BigNumberish | The new network chain ID. |
bigint
The network chain ID.
Parameter | Type | Description |
---|---|---|
value | string | The new network name. |
string
The network name.
Network
A new Network instance.
any
The JSON representation of the network.
network
name or chainId.
Parameter | Type | Description |
---|---|---|
network ? | Networkish | The network to get. |
Network
The Network instance.
nameOrChainId
with a function which returns an instance of a Network representing that chain.
Parameter | Type | Description |
---|---|---|
nameOrChainId | string | number | bigint | The name or chain ID to register. |
networkFunc | () => Network | The function to create the Network. |
void
nameOrChainId
.