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