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