@cfxlabsinc/b2b-services
    Preparing search index...

    Type Alias WireFileMetadata

    Snapshot of a wire file's contents, crystallized at create (CSV generation) by WireFileService. wireBatchIds / withdrawalIds name what the file carried; recordCount / totalAmount freeze the count and sum.

    Everything here is frozen rather than joined because archiving a wire file nulls wire_batch.wire_file_id — a live join through the FK returns nothing for an archived file, so an unfrozen figure reads as zero exactly when the historical record matters. Same fields as ach_file.metadata, plus parts (wire files are split at 15 wires per CSV part; ACH writes one file).

    type WireFileMetadata = {
        parts?: number;
        recordCount?: number;
        totalAmount?: string;
        wireBatchIds?: string[];
        withdrawalIds?: string[];
    }
    Index
    parts?: number

    How many CSV parts the file was split into.

    recordCount?: number

    Crystallized transaction count.

    totalAmount?: string

    Crystallized sum (numeric text, BigNumber-parseable).

    wireBatchIds?: string[]
    withdrawalIds?: string[]

    Contained transaction ids.