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