Get network of current account
async function switchNetwork(network: string): void
the network. livenet
and testnet
const provider = (window.$onekey && window.$onekey.btc) || window.unisat;
async provider.switchNetwork("livenet");
{% embed url="https://codepen.io/OneKeyHQ/pen/ZEwMJKJ" %}