Skip to main content

query_accounts

Query Accounts by the intersection of some fields and by timestamp range.

⚠️ It is not possible currently to query more than a full batch (8190) of accounts atomically. When issuing multiple query_accounts calls, it can happen that other operations will interleave between the calls leading to read skew. Consider using the history flag to enable atomic lookups.

Event

The query filter. See QueryFilter for constraints.

Result

  • Return a (possibly empty) array of Accounts that match the filter.
  • If any constraint is violated, return nothing.
  • By default, Accounts are sorted chronologically by timestamp. You can use the reversed to change this.
  • The result is always limited in size. If there are more results, you need to page through them using the QueryFilter's timestamp_min and/or timestamp_max.

Client libraries

For language-specific docs see: