Get network of current account
async function getNetwork(): string
the network. livenet and testnet
livenet
testnet
const provider = (window.$onekey && window.$onekey.btc) || window.unisat; const network = async provider.getNetwork()
Last updated 11 months ago