πŸ”΅Indexer

Querying Brick with less expensive RPC calls

The Brick indexer source can be found herearrow-up-right

Based on the Aleph Indexer Frameworkarrow-up-right, it is currently configured to be posting specific Aleph Messages for the Fishnet dApp, for which Brick was initially developed for:

An upcoming marketplace for quant data.

A more general version of the indexer should be available herearrow-up-right

Querying the Indexer

To run the indexer locally, follow these steps:

  1. Open indexer/brick/.env.defaults and set the SOLANA RPC.

  2. From root you can run the indexer with: npm run start:indexer

When the indexer started, the indexer usually starts at https://localhost:8080arrow-up-right. There you can query it through the GraphiQL UI or using the sdkarrow-up-right.

Transactions:

Provides user purchases and sales, discriminate sales and purchases by checking the signer of the event.

Events

Provides you the instruction history of an specific account (can be a user o a program account).

Brick Accounts

The current state and human-readable content of all program accounts can be queries like this:

Last updated