mock-chronik-client
Version:
Testing utility to mock the Chronik indexer client and support unit tests that need to mock chronik related API calls.
17 lines • 456 B
TypeScript
import { Block, BlockchainInfo, Tx, TokenInfo, ScriptUtxo, Utxo } from 'chronik-client';
interface ChronikMocks {
tipHeight: number;
tipHash: string;
block: Block;
blockchainInfo: BlockchainInfo;
txid: string;
tx: Tx;
tokenId: string;
token: TokenInfo;
rawTx: string;
scriptUtxo: ScriptUtxo;
utxo: Utxo;
}
declare const chronikMocks: ChronikMocks;
export default chronikMocks;
//# sourceMappingURL=index.d.ts.map