interface BitcoinProvider {
    connect?(): Promise<{
        address: string;
        publicKey: string;
        compressedPublicKey: string;
    }>;
    getSelectedAccount?(): Promise<null | {
        address: string;
        publicKey: string;
        compressedPublicKey: string;
    }>;
}

Hierarchy

  • Pick<UniSatA.Provider, "on" | "removeListener" | "signMessage">
  • Partial<Omit<UniSatA.Provider, "on" | "removeListener" | "signMessage">>
    • BitcoinProvider

Methods

  • Returns Promise<{
        address: string;
        publicKey: string;
        compressedPublicKey: string;
    }>

  • Returns Promise<null | {
        address: string;
        publicKey: string;
        compressedPublicKey: string;
    }>