Utilize gettxout to display spent/outspent

fixes #1088
This commit is contained in:
softsimon
2022-01-15 22:09:04 +04:00
parent 20476e1366
commit 2a16dc5a7f
6 changed files with 33 additions and 6 deletions

View File

@@ -12,6 +12,7 @@ export interface AbstractBitcoinApi {
$getAddressTransactions(address: string, lastSeenTxId: string): Promise<IEsploraApi.Transaction[]>;
$getAddressPrefix(prefix: string): string[];
$sendRawTransaction(rawTransaction: string): Promise<string>;
$getOutspends(txId: string): Promise<IEsploraApi.Outspend[]>;
}
export interface BitcoinRpcCredentials {
host: string;