@cfxlabsinc/b2b-services
    Preparing search index...
    type LedgerAccountAdminSearchArgs = {
        addresses?: Address[];
        bankIds?: BankId[];
        blockTime?: Date;
        createdAt?: DbTimestampCriteria;
        customerId?: string;
        entityIds?: Entity["id"][];
        ids?: LedgerAccount["id"][];
        orderBy?: (
            | DbOrderByCriterion<typeof ledgerAccountTable, "createdAt">
            | { direction: "ASC" | "DESC"; field: "balance" }
        )[];
        page?: number;
        pageSize?: number;
        q?: string;
    }
    Index

    Properties

    addresses?: Address[]
    bankIds?: BankId[]

    Scope to ledger accounts associated with any of these banks. Active (non-deleted) deposit bank memos are the authoritative association; accounts with no active memo fall back to their active virtual account's bank (virtual_account.bank_id).

    blockTime?: Date

    Value each account's balance as of this instant — the most recent on-chain post-balance at or before it — instead of the current balance. A balance-valuation modifier, not a row filter; omit for the latest balance.

    customerId?: string
    entityIds?: Entity["id"][]
    ids?: LedgerAccount["id"][]
    orderBy?: (
        | DbOrderByCriterion<typeof ledgerAccountTable, "createdAt">
        | { direction: "ASC" | "DESC"; field: "balance" }
    )[]
    page?: number

    Defaults to 1

    pageSize?: number

    Defaults to 100

    q?: string

    Case-insensitive substring match on account name or entity name. Whitespace-only values are a no-op.