CoinFound RWA Read
Self-contained read-only access to CoinFound RWA GET endpoints.
Scope
- - Supports
aggregates, timeseries, pie, list, and dataset routes under v1/c/rwa/*. - Does not refresh schema snapshots. Hand unresolved schema gaps to
$coinfound-rwa-schema-probe.
Workflow
- 1. Read the bundled endpoint catalog and schema snapshots before constructing a request.
- Resolve the route by
endpoint_key or by asset_class + family + metric. - Run the bundled fetch script and return both the envelope and normalized payload.
- If the schema is missing or conflicts with live data, delegate to
$coinfound-rwa-schema-probe.
Bundled Resources
Read first:
- - INLINECODE11
- INLINECODE12
Run:
Minimal Examples
CODEBLOCK0
CODEBLOCK1
Expected Output
Default output should include:
- - INLINECODE14
- INLINECODE15
- INLINECODE16
- INLINECODE17
- INLINECODE18
- INLINECODE19
References
- - INLINECODE20
- INLINECODE21
- INLINECODE22
CoinFound RWA 读取
对 CoinFound RWA GET 端点提供自包含的只读访问。
范围
- - 支持 v1/c/rwa/* 路径下的 aggregates、timeseries、pie、list 和 dataset 路由。
- 不刷新模式快照。将未处理的模式缺口交由 $coinfound-rwa-schema-probe 处理。
工作流程
- 1. 在构造请求前,先读取捆绑的端点目录和模式快照。
- 通过 endpointkey 或 assetclass + family + metric 解析路由。
- 运行捆绑的获取脚本,返回信封和标准化后的数据载荷。
- 如果模式缺失或与实时数据冲突,则委托给 $coinfound-rwa-schema-probe。
捆绑资源
首先读取:
- - shared/coinfoundrwa/data/endpointcatalog.json
- shared/coinfoundrwa/data/schemasnapshots/
运行:
- - shared/coinfoundrwa/scripts/fetchrwa.py
最小示例
bash
python3 shared/coinfoundrwa/scripts/fetchrwa.py \
--endpoint-key stable-coin.market-cap.timeseries \
--query {groupBy:network}
bash
python3 shared/coinfoundrwa/scripts/fetchrwa.py \
--asset-class private-credit \
--family aggregates
预期输出
默认输出应包括:
- - request
- responseenvelope
- normalizeddata
- displaydata
- shapefamily
- schema_source
参考资料
- - references/rwa-read-workflow.md
- references/rwa-read-capabilities.md
- references/rwa-read-integration-notes.md