Eniblock.setNetwork() method
Set the current blockchain Network in the sdk config
Please restart notifications after changing network: wallet.on()
Signature:
setNetwork(network: NetworkEnum): Promise<void>;
Parameters
Parameter | Type | Description |
---|---|---|
network | NetworkEnum |
Returns:
Promise<void>