Skip to main content

Snowbridge Dashboards

Overviewโ€‹

Snowbridge is a general-purpose, trustless, and decentralized bridge that connects Polkadot and Ethereum. This bridge facilitates communication between any Polkadot parachain and Ethereum using Polkadot's XCMP messaging protocol. Parachains can send XCM instructions to BridgeHub, leveraging Snowbridge for cross-chain interactions.

For more details on bridging with Kusama, please refer to our BridgeHub Dashboard.

Here you will find a variety of dashboards that help visualize data from the Snowbridge protocol:

  • Snowbridge: A comprehensive analysis of Snowbridge, including: Ethereum Related On Chain Data Analysis, Analysis of Messages with Ethereum.

Key Tablesโ€‹

Data from the Snowbridge protocol is organized into several key tables:

  • bridgehub.balances
  • bridgehub.blocks
  • bridgehub.calls
  • bridgehub.events
  • bridgehub.extrinsics
  • bridgehub.transfers

Start building your own queries using granular data on Dune here.

Useful Queriesโ€‹

Some useful queries for Snowbridge are provided:

TitleQueryDescription
Snowbridge Tokensentquery_3828274Monitoring Tokensent from Snowbridge's gateway contract on Ethereum to Polkadot BridgeHub
Polkadot AssetHub ForeignAsset Mint & Burnquery_3828126Monitoring ForeignAsset Mint & Burn

Getting Started with Queriesโ€‹

To get started with querying data from Snowbridge, you are welcome to use the mentioned materialized queries. You can use the following DuneSQL queries as examples:

Polkadot BridgeHub Outbound Msg Sent To Ethereum
SELECT DISTINCT
block_time,
block_number,
block_hash,
extrinsic_id,
extrinsic_hash,
event_id,
section,
method,
CAST(JSON_VALUE(data, 'strict $[0]') AS VARCHAR) AS message_id,
CAST(JSON_VALUE(data, 'strict $[1]') AS uint256) AS nonce
FROM
bridgehub.events
WHERE
section = 'ethereumOutboundQueue'
AND method = 'MessageAccepted';

Query result:

DuneSQL Reference

For more information on DuneSQL, please refer to the DuneSQL Cheatsheet and DuneSQL Official Documentation.