Subsquid Network

DipDup uses Subsquid Network as a source of historical data for Starknet blockchain.

Configure the datasource in your project config:

dipdup.yaml
datasources:
  subsquid:
    kind: starknet.subsquid
    url: ${SUBSQUID_URL:-https://v2.archive.subsquid.io/network/starknet-mainnet}

Then, add it to Starknet index definitions:

dipdup.yaml
indexes:
  starknet_usdt_events:
    kind: starknet.events
    datasources:
      - subsquid
      - node
    handlers:
      - callback: on_transfer
        contract: stark_usdt
        name: Transfer
Help and tips -> Join our Discord
Ideas or suggestions -> Issue Tracker
GraphQL IDE -> Open Playground