← 返回
效率工具 中文

QXMP Oracle

Fetch real-world asset (RWA) data and proof-of-reserve status from the QXMP Oracle — managing $1.17 trillion in certified in-ground mining assets on the QELT...
从 QXMP 预言机获取真实资产(RWA)数据与储量证明状态,管理 QELT 上价值 1.17 万亿美元已认证地下采矿资产。
prqelt
效率工具 clawhub v0.1.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 469
下载
💾 6
安装
1
版本
#latest

概述

QXMP Oracle Skill (RWA Proof-of-Reserve)

The QXMP Oracle is a custom oracle infrastructure (not Chainlink or RedStone) providing cryptographically verified real-world asset data on the QELT blockchain. It manages 12 tokenized mining projects worth $1.17 trillion USD in certified in-ground mining assets — all on-chain.

API Base URL: https://api.qxmp.ai/api/v1/rwa

Auth: None required — fully public API

CORS: Enabled — works from any browser

Update frequency: Oracle proofs update ~once per 24 hours

Safety

  • Read-only API — no write operations available.
  • Never fabricate asset valuations, proof timestamps, or freshness status.
  • Always report isFresh honestly — a stale proof (isFresh: false) means data may be up to 1 day old.
  • Parse valueUSD fields with parseFloat() — they are strings to preserve precision.
  • Respect rate limits: exponential backoff on HTTP 429 using Retry-After header.
  • Cache responses for 2–5 minutes; proofs are stable between daily updates.

Endpoints

Health Check

curl -fsSL "https://api.qxmp.ai/api/v1/rwa/health"

Get All Assets (primary endpoint)

curl -fsSL "https://api.qxmp.ai/api/v1/rwa/assets?page=1&limit=100"

Key fields per asset:

FieldTypeNotes
--------------------
assetCodestringe.g. "QXMP:RHENO-JORC-ZA"
namestringHuman-readable project name
typestringGold, Diamond, Rare Earth Elements, etc.
jurisdictionstringZA, NA, MZ, LR, AU
valueUSDstringParse with parseFloat()
latestProof.isFreshbooleantrue if proof < 24h old
latestProof.ageHoursstringHours since last proof
latestProof.timestampstringISO 8601

Get Single Asset

curl -fsSL "https://api.qxmp.ai/api/v1/rwa/assets/QXMP:RHENO-JORC-ZA"

Returns full asset details including onChain data and proofHistory[].

Get Portfolio Statistics

curl -fsSL "https://api.qxmp.ai/api/v1/rwa/stats"

Returns totalAssets, totalValue, averageValue, byType[], byJurisdiction[].

Response Shape

{
  "success": true,
  "data": {
    "assets": [
      {
        "assetCode": "QXMP:RHENO-JORC-ZA",
        "name": "Rhenosterspruit / Syferfontein Mining Project",
        "type": "Rare Earth Elements",
        "jurisdiction": "ZA",
        "valueUSD": "113989838841.85",
        "status": "registered",
        "latestProof": {
          "valueUSD": "113989838841.85",
          "timestamp": "2026-02-10T12:00:00.000Z",
          "ageHours": "23.5",
          "isFresh": true,
          "submitter": "0x..."
        }
      }
    ],
    "summary": { "count": 12, "totalValue": "1090958787645.94", "currency": "USD" }
  }
}

Procedure

Report Asset Portfolio

  1. Fetch: GET /assets?page=1&limit=100
  2. Check success: true
  3. Parse each valueUSD with parseFloat()
  4. Flag ✅ Fresh or ⚠️ Stale per latestProof.isFresh
  5. Report totals from data.summary.totalValue

Verify a Specific Asset

  1. Fetch: GET /assets/{assetCode}
  2. Report: name, type, jurisdiction, value, proof age, freshness
  3. If isFresh: false, warn user proof is older than 24 hours

Rate Limit Handling

# Check for 429 and respect Retry-After
response=$(curl -sI "https://api.qxmp.ai/api/v1/rwa/assets")
if echo "$response" | grep -q "HTTP/.*429"; then
  retry=$(echo "$response" | grep -i "retry-after" | awk '{print $2}' | tr -d '\r')
  echo "Rate limited. Waiting ${retry}s..."
  sleep "$retry"
fi

Smart Contracts (On-Chain — Advanced)

For trustless verification without the REST API:

ContractAddressRole
-------------------------
OracleController0xB2a332dE80923134393306808Fc2CFF330de03bASignature verification
ProofOfReserveV30x6123287acBf0518E0bD7F79eAcAaFa953e10a768Proof storage + audit trail
DynamicRegistryV20xd00cD3a986746cf134756464Cb9Eaf024DF110fBAsset metadata storage

Asset codes: keccak256("QXMP:RHENO-JORC-ZA") — format QXMP:{PROJECT}-{STANDARD}-{COUNTRY}.

Values stored at 8 decimal precision: valueUSD * 10^8.

Asset Types

Gold · Diamond · Rare Earth Elements · Heavy Mineral Sands · Nickel and Cobalt · Platinum · Lithium · Uranium

Jurisdictions

ZA (South Africa) · NA (Namibia) · MZ (Mozambique) · LR (Liberia) · AU (Australia)

Common Errors

ErrorCauseFix
-------------------
success: falseAPI errorCheck error field
HTTP 429Rate limitedWait Retry-After seconds
Asset not foundWrong codeList all via /assets first
isFresh: falseProof > 24h oldData valid; oracle updates daily

版本历史

共 1 个版本

  • v0.1.0 当前
    2026-03-30 18:24 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

productivity

Word / DOCX

ivangdavila
创建、检查和编辑 Microsoft Word 文档及 DOCX 文件,支持样式、编号、修订记录、表格、分节符及兼容性检查等功能。
★ 440 📥 147,926
data-analysis

Qelt Contracts

prqelt
使用主网索引器 API 在 QELT 区块链上验证、检查和获取已验证的 Solidity 智能合约、ABI 及编译器/EVM 版本。
★ 0 📥 745
productivity

Nano Pdf

steipete
使用nano-pdf CLI通过自然语言指令编辑PDF
★ 275 📥 114,912