83trust / 100

Hedera Facts All

by TenPrint in Other

x402 APIPassing, checked 30 min ago

All thirteen attested Hedera network facts in one call at GET /v1/x402/hedera-facts/all, each carrying its own attestation ID. A fact whose upstream cannot answer comes back marked unavailable rather than failing the set.

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

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
135 ms typical, 136 ms slowest 5%
Last check
30 min 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/all"
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.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Frubric-protocol.com%2Fv1%2Fx402%2Fhedera-facts%2Fall
const res = await pay("https://rubric-protocol.com/v1/x402/hedera-facts/all");
console.log(await res.json());

Example output

{
  "facts": {
    "exchange-rate": {
      "attestationId": "d88088bf-b28b-4e00-9983-187febf7caa3"
    },
    "supply": {
      "attestationId": "f734f3ac-0d02-4214-9aca-2961f8fffd58"
    }
  },
  "operator": "TenPrint",
  "paid": true,
  "settled": true,
  "success": true,
  "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
30 min agoPassed402381 ms$0.003
5 h agoPassed402135 ms$0.003
8 h agoPassed402136 ms$0.003
11 h agoPassed402134 ms$0.003
16 h agoPassed402128 ms$0.003