Last updated 1 year ago
Get address of current account
async function getAccounts(): string[]
const provider = (window.$onekey && window.$onekey.btc) || window.unisat; const accounts = async provider.getAccounts()