Count transactions grouped by method, scoped to the given statuses
(e.g. ["PROCESSING"] for in-flight / stuck transactions). Returns
one entry per method that has at least one matching row; methods
with zero matches are omitted. Order is unspecified — callers sort.
Returns the base UNION query (all selects enabled) as a SQL string with params.
Optionalamount?: { operator: "EQ" | "LTE" | "GTE"; value: BigNumber }OptionalbankIds?: Required<"greendot" | "dart" | "burling" | "jiko" | "fib" | undefined>[]OptionalbankTransactionIds?: (string | undefined)[]OptionalcardIds?: string[]OptionalcreatedAt?: DbTimestampCriteriaOptionalcustomerIds?: string[]OptionalentityIds?: string[]OptionalentityTypes?: NonNullable<"IDENTITY" | "ORGANIZATION" | null>[]Optionalids?: string[]Optionalmethods?: (OptionalorderBy?: { direction: "ASC" | "DESC"; field: "createdAt" | "updatedAt" }[]Defaults to createdAt DESC
Optionalpage?: numberDefaults to 1
OptionalpageSize?: numberDefaults to 10
OptionalpaymentInstrumentIds?: (string | undefined)[]Optionalsignatures?: string[]Optionalstatuses?: ("PROCESSING" | "COMPLETED" | "FAILED" | "RETURNED")[]Optionalsubtypes?: ("FEE" | "RETURN" | undefined)[] | nullPass values to include only those subtypes; pass null to exclude transactions with a subtype
Optionaltoken?: TokenToken name to resolve to a mint address. Defaults to MOVEUSD
Optionaltypes?: ("CREDIT" | "DEBIT")[]OptionalupdatedAt?: DbTimestampCriteriaOptionalwalletAddresses?: Address[]
Read-only query services to fetch normalised transactions across all products
If you need more info about a transaction, fetch it using its specific service. Transaction Service will remain generic and high-level.