QUERY

get_accounts_by_type

@mount("ft4.get_accounts_by_type") query get_accounts_by_type(type: text, page_size: integer, page_cursor: text?): paged_result

Retrieves all accounts of the specified type. Since there might potentially be many accounts that match this criteria, the response of this query is paginated.

Parameters

  • type — the type of accounts to fetch
  • page_size — the size of the pages to retrieve
  • page_cursor — a pointer to where the page should start

See Also

  • [utils.paged_result] — for information about pagination
© 2024 Chromia