83trust / 100

Hedera Facts Treasury Balance

by TenPrint in Other

x402 APIPassing, checked 4 h ago

Attested Hedera network facts: HBAR exchange rate, gas fees, supply, node roster, throughput, topic state. Each response carries the ML-DSA-65 attestation ID of the served snapshot — tamper-evident reference data for agents that must prove what they knew when they acted.

GET https://rubric-protocol.com/v1/x402/hedera-facts/treasury-balance

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
128 ms typical, 128 ms slowest 5%
Last check
4 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://rubric-protocol.com/v1/x402/hedera-facts/treasury-balance"
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.03:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Frubric-protocol.com%2Fv1%2Fx402%2Fhedera-facts%2Ftreasury-balance
const res = await pay("https://rubric-protocol.com/v1/x402/hedera-facts/treasury-balance");
console.log(await res.json());

Example output

{
  "attestationId": "f734f3ac-0d02-4214-9aca-2961f8fffd58",
  "cacheWindowSeconds": 3600,
  "fact": "supply",
  "operator": "TenPrint",
  "paid": true,
  "settled": true,
  "success": true,
  "value": {
    "released": "4379109625135465505",
    "total": "5000000000000000000"
  },
  "verifyUrl": "https://rubric-protocol.com/v1/verify/f734f3ac-0d02-4214-9aca-2961f8fffd58",
  "vsr": {
    "hashProfile": "vsr/v0.4/sha3-256",
    "spec": "https://rubric-protocol.com/specs/vsr-v0.4.md",
    "vsrVersion": "0.4-draft"
  }
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
4 h agoPassed402128 ms$0.001