UNPKG

chronik-cache

Version:

A cache helper for chronik-client

16 lines (15 loc) 387 B
interface TxBlock { height: number; timestamp?: number; } interface Transaction { txid?: string; block?: TxBlock; timestamp?: number; timeFirstSeen: number; } /** * A helper function to sort transaction IDs based on corresponding transaction data */ export default function sortTxIds(txIds: string[], getTx: (txId: string) => Transaction): string[]; export {};