Get network of current account
async function switchNetwork(network: string): void
the network. livenet and testnet
livenet
testnet
const provider = (window.$onekey && window.$onekey.btc) || window.unisat; async provider.switchNetwork("livenet");
Last updated 1 year ago