Address page mostly working.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { MempoolInfo, Transaction, Block, MempoolEntries, MempoolEntry, Address } from '../../interfaces';
|
||||
import { MempoolInfo, Transaction, Block, MempoolEntries, MempoolEntry, Address, AddressInformation,
|
||||
ScriptHashBalance, ScriptHashHistory } from '../../interfaces';
|
||||
|
||||
export interface AbstractBitcoinApi {
|
||||
$getMempoolInfo(): Promise<MempoolInfo>;
|
||||
@@ -10,6 +11,9 @@ export interface AbstractBitcoinApi {
|
||||
$getBlock(hash: string): Promise<Block>;
|
||||
$getMempoolEntry(txid: string): Promise<MempoolEntry>;
|
||||
$getAddress(address: string): Promise<Address>;
|
||||
$validateAddress(address: string): Promise<AddressInformation>;
|
||||
$getScriptHashBalance(scriptHash: string): Promise<ScriptHashBalance>;
|
||||
$getScriptHashHistory(scriptHash: string): Promise<ScriptHashHistory[]>;
|
||||
|
||||
// Custom
|
||||
$getRawMempoolVerbose(): Promise<MempoolEntries>;
|
||||
|
||||
Reference in New Issue
Block a user