Query for Access Credential (Access Requests, Access Grants or Access Denials) based on a given filter, and traverses all of the result pages.
The query filter
Query options
an async iterator going through the result pages
3.2.0
const pages = paginatedQuery( {}, { fetch: session.fetch, queryEndpoint: new URL("https://vc.example.org/query"), }, ); for await (const page of pages) { // do something with the result page. } Copy
const pages = paginatedQuery( {}, { fetch: session.fetch, queryEndpoint: new URL("https://vc.example.org/query"), }, ); for await (const page of pages) { // do something with the result page. }
Query for Access Credential (Access Requests, Access Grants or Access Denials) based on a given filter, and traverses all of the result pages.