* CPFP support. fixes #5 fixes #353 fixes #360 * Use effectiveFeePerVsize for mempool statistics. * Renaming endpoint cpfp-info to just cpfp. * Renaming decended to BestDescendant. * Updating language file with new strings.
14 lines
689 B
TypeScript
14 lines
689 B
TypeScript
import { IEsploraApi } from './esplora-api.interface';
|
|
|
|
export interface AbstractBitcoinApi {
|
|
$getRawMempool(): Promise<IEsploraApi.Transaction['txid'][]>;
|
|
$getRawTransaction(txId: string, skipConversion?: boolean, addPrevout?: boolean): Promise<IEsploraApi.Transaction>;
|
|
$getBlockHeightTip(): Promise<number>;
|
|
$getTxIdsForBlock(hash: string): Promise<string[]>;
|
|
$getBlockHash(height: number): Promise<string>;
|
|
$getBlock(hash: string): Promise<IEsploraApi.Block>;
|
|
$getAddress(address: string): Promise<IEsploraApi.Address>;
|
|
$getAddressTransactions(address: string, lastSeenTxId: string): Promise<IEsploraApi.Transaction[]>;
|
|
$getAddressPrefix(prefix: string): string[];
|
|
}
|