import { Transaction, TransactionHash, UTXO, ExtMap } from '@xocash/primitives'; export type AddressCallback = (status: string | null) => void; export type TransactionCallback = (height: number | null) => void; export type BlockchainTransaction = { hash: TransactionHash; height: number; transaction: Transaction; }; export type BlockchainTransactions = ExtMap; export type BlockchainUTXO = { height: number; utxo: UTXO; }; export type BlockchainUTXOs = ExtMap;