Subsquid Network
Note
Examples below are for Ethereum mainnet. For other supported networks, see EVM Networks.Note
Subsquid Network has been rebranded to SQD Network. We keep using old name in documentation and config specification for compatibility reasons.DipDup uses Subsquid Network as a source of historical data for EVM-compatible blockchains.
Configure the datasource in your project config:
dipdup.yaml
datasources:
subsquid:
kind: evm.subsquid
url: ${SUBSQUID_URL:-https://v2.archive.subsquid.io/network/ethereum-mainnet}
Then, add it to EVM index definitions:
dipdup.yaml
indexes:
eth_usdt_events:
kind: evm.events
datasources:
- subsquid
- etherscan
- evm_node
handlers:
- callback: on_transfer
contract: eth_usdt
name: Transfer
DipDup will use Subsquid Network when possible and fallback to EVM nodes for the latest data and realtime updates.
Help and tips -> Join our Discord
Ideas or suggestions -> Issue Tracker
GraphQL IDE -> Open Playground