Skip to main content
RWA.xyz delivers its tokenized real-world asset data to Snowflake through Secure Data Sharing. The shared data appears as a read-only database in your own Snowflake account, so you can query it with SQL and join it to your own tables without running an ETL pipeline or calling the API. The share draws on the same data pipeline as the RWA.xyz platform and covers a core set of its metrics. Metric definitions follow the Methodology section.

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

  1. 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.
  2. Once RWA.xyz grants your account access, create a database from the share. Run this as ACCOUNTADMIN, or as a role with the IMPORT SHARE and CREATE DATABASE privileges, using the provider account and share name RWA.xyz sends you:
  1. Grant other roles access to the new database:
The shared database is read-only. Queries run on your warehouse, so you pay for the compute they use; RWA.xyz pays for storage.

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 a date, 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 database RWA. Set your share’s schema first:

Latest metrics for every token

Keep the inner join to ASSETS in any query that rolls tokens up to assets. Find the asset’s ID 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 are NULL, not 0, on days without that activity, so the query treats missing values as 0.
This values each day’s flows at that day’s price, falling back to NAV, so its totals can differ from the API’s fund flows endpoints, which value a whole window at its ending NAV. See Volumes.

Next steps

Tables & Schema

Every view, column, and join key in the share.

Methodology

How each metric is defined and calculated.