Rete Oracle Decentralizzata
Dati in tempo reale per Smart Contract
L'Oracle Trustmura fornisce feed di dati sicuri e affidabili per DeFi, assicurazioni e gaming.
⚡
🔗
🛡️
📊
🌐
🔄
1
Fonti Dati
2
Rete di Nodi
3
Consegna On-Chain
HTTP Header
X-API-Key: your_api_key_here
POST /api/oracle/events
Create Event
curl -X POST https://trustmura.com/api/oracle/events \
-H "Content-Type: application/json" \
-H "X-API-Key: your_api_key" \
-d '{
"title": "ETH/USD Price Feed",
"rules": "Update every 30 seconds",
"options": [
{"id": "1", "label": "Option A"},
{"id": "2", "label": "Option B"}
]
}'
PUT /api/oracle/events/:id
Resolve Event
curl -X PUT https://trustmura.com/api/oracle/events/42 \
-H "Content-Type: application/json" \
-H "X-API-Key: your_api_key" \
-d '{
"answer": "1"
}'
GET /api/oracle/events
Query Events
curl "https://trustmura.com/api/oracle/events?mid=1&page=1&limit=20"
title | string | Yes | |
rules | string | No | |
options | array | No | |
answer | string | No | |
mid | number | No | |
page | number | No | |
limit | number | No |