Skip to main content
Version: Current

Gear support

info

Subsquid Network has gateways for two networks that use Gear Protocol: Vara and Vara Testnet. Here are their endopint URLs:

https://v2.archive.subsquid.io/network/vara
https://v2.archive.subsquid.io/network/vara-testnet

Indexing Gear programs is supported with addGearMessageQueued() and addGearUserMessageSent() specialized data requests. These subscribe to the events Gear.MessageQueued and Gear.UserMessageSent emitted by a specified Gear program.

The processor can also subscribe to any other event with addEvent() and filter by program ID in the batch handler, if so necessary.

An example of a squid indexing a Gear program (an NFT contract) can be found here.