Links

Query Collection

Collections is an analytics API (not real-time, though it may look like one).
Not all filters and sortings are working now. Data is provided only for the past 7 days.

When you may need collections?

If you want to apply some custom filters and sortings on the data.

About collections

There are a few collections with blockchain data:
  • accounts: blockchain account data;
  • transactions: transactions related to accounts;
  • messages: input and output messages related to transactions;
  • blocks: blockchain blocks.
  • block_signatures : validator block signatures

Usage

await client.net.query_collection({
collection: 'accounts',
filter: {
id: {
eq: wallet1Address
}
},
result: 'balance'
})

Sample source code

Core
AppKit