Skip to main content
Version: Current

Gear support

info

Use lookupArchive('gear-testnet') to connect to a Subsquid Network dataset for Gear testnet. A dataset for the Gear mainnet will be added in due course when the network is launched.

Indexing Gear Network 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.