import { JsonRpcResponse } from '../JsonRpcResponse.dto'; import { AbstractRpcInterface } from './AbstractJsonRpcInterface'; export interface UtxoBasedRpcSuite extends UtxoBasedRpcInterface, AbstractRpcInterface { } export interface UtxoBasedRpcInterface { getBestBlockHash(): Promise>; getBlock(hashOrHeight: string, verbose?: 0 | 1 | 2): Promise>; getBlockChainInfo(): Promise>; getBlockCount(): Promise>; getBlockHash(height: number): Promise>; getBlockHeader(hash: string, verbose?: boolean): Promise>; getBlockStats(hash: string): Promise>; getChainTips(): Promise>; getDifficulty(): Promise>; getMempoolAncestors(txId: string, verbose?: boolean): Promise>; getMempoolDescendants(txId: string, verbose?: boolean): Promise>; getMempoolEntry(txId: string): Promise>; getMempoolInfo(): Promise>; getRawMemPool(verbose?: boolean): Promise>; getTxOut(txId: string, index: number, includeMempool?: boolean): Promise>; getTxOutProof(txIds: string[], blockhash?: string): Promise>; verifyTxOutProof(proof: string): Promise>; createRawTransaction(inputs: any[], outputs: any, locktime?: number, replaceable?: boolean): Promise>; decodeRawTransaction(hexstring: string): Promise>; decodeScript(hexstring: string): Promise>; getRawTransaction(txId: string, verbose?: boolean): Promise>; sendRawTransaction(hexstring: string): Promise>; estimateSmartFee(blocks: number, estimateMode?: 'UNSET' | 'ECONOMICAL' | 'CONSERVATIVE'): Promise>; validateAddress(address: string): Promise>; verifyMessage(address: string, signature: string, message: string): Promise>; }