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

    Type Alias CachedLedgerAccountSearchItem

    CachedLedgerAccountSearchItem: Omit<
        LedgerAccountSearchItem,
        "balance"
        | "address"
        | "tokenAccounts"
        | "createdAt"
        | "updatedAt",
    > & {
        address: string;
        balance: string;
        createdAt: string;
        tokenAccounts: Record<"MOVEUSD", { address: string }>;
        updatedAt: string;
    }

    JSON-safe projection of LedgerAccountSearchItem.

    L2 round-trips through JSON, so Date fields would arrive as strings and BigNumber / Address-branded fields would lose their runtime shape on cross-process / post-L1 reads. Non-JSON-native fields: balance (BigNumber↔string), address + tokenAccounts.MOVEUSD.address (Address↔string), and createdAt / updatedAt (Date↔ISO string, both notNull in the schema). Everything else rides the spread unchanged.