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

    Type Alias ChainHistoryPair<Key>

    One address on one network, and what its history backfills covered.

    type ChainHistoryPair<Key extends string> = {
        address: string;
        chainKey: Key;
        coverage: {
            completedAt: string;
            endpoint: string;
            fromBlock: number | null;
            toBlock: number | null;
        }[];
        covered: boolean;
        missing: string[];
        network: string;
        run: | { startedAt: string; status: "RUNNING"; workflowId: string }
        | {
            closedAt: string;
            status: "FAILED" | "TERMINATED" | "TIMED_OUT" | "CANCELED";
            workflowId: string;
        }
        | null;
        walletAddressId: number;
    }

    Type Parameters

    • Key extends string
    Index
    address: string
    chainKey: Key
    coverage: {
        completedAt: string;
        endpoint: string;
        fromBlock: number | null;
        toBlock: number | null;
    }[]

    Each endpoint a completed backfill paged; blocks null when it was empty.

    Type Declaration

    • completedAt: string

      ISO 8601.

    • endpoint: string
    • fromBlock: number | null
    • toBlock: number | null
    covered: boolean

    Every endpoint of the network's family is covered.

    missing: string[]

    The network's endpoints no completed backfill paged, in paging order.

    network: string

    The network's display name.

    run:
        | { startedAt: string; status: "RUNNING"; workflowId: string }
        | {
            closedAt: string;
            status: "FAILED" | "TERMINATED" | "TIMED_OUT" | "CANCELED";
            workflowId: string;
        }
        | null

    The latest backfill run, ISO 8601 dates: running, or how it closed without completing. null when none ran or the last one completed.

    walletAddressId: number