What’s included
Shares typically contain four views:
See Tables & Schema for every column and how the views join.
Shares are configured per customer. Yours may include a subset of these views or additional columns. Run
SHOW VIEWS IN DATABASE <database>; to see what your share contains.Getting access
- Email team@rwa.xyz with your Snowflake organization and account name (or account locator) and your account’s cloud provider and region. Direct shares work only between accounts in the same region, so RWA.xyz will confirm how your account can receive the share.
- Once RWA.xyz grants your account access, create a database from the share. Run this as
ACCOUNTADMIN, or as a role with theIMPORT SHAREandCREATE DATABASEprivileges, using the provider account and share name RWA.xyz sends you:
- Grant other roles access to the new database:
Data freshness
RWA.xyz computes metrics in a daily pipeline. The tables behind the share refresh automatically, so new data appears in Snowflake within about 30 minutes of RWA.xyz publishing it. You do not need to refresh anything on your side. Each metrics row has adate, the day the metrics describe, and an _etl_date, which is always date + 1. _etl_date is a partition key, not a load timestamp: when RWA.xyz restates or backfills history, the restated rows keep their original _etl_date. To keep a copy in sync, reload a trailing window of date values rather than filtering on _etl_date.
Different metrics for the same day can arrive at different times, so the most recent day may be partly filled until every metric has landed.
Example queries
The examples assume you named the databaseRWA. Set your share’s schema first:
Latest metrics for every token
ASSETS in any query that rolls tokens up to assets.
NAV and yield history for one asset
Find the asset’sID in ASSETS first, since tickers are not guaranteed to be unique.
Daily net flows by asset
Subscriptions and redemptions are adjusted mints and burns: they exclude mints and burns in issuer treasury and premint wallets, and count transfers out of and into those wallets instead. See Net flows. Flow columns areNULL, not 0, on days without that activity, so the query treats missing values as 0.
Next steps
Tables & Schema
Every view, column, and join key in the share.
Methodology
How each metric is defined and calculated.