90trust / 100

Branches Summary

by api.onesource.io in Onchain & crypto

x402 APIPassing, checked 3 h ago

The Standard Reserve (TSR), an on-chain reserve protocol on Robinhood Chain. Summary across reserve branches. Fields ending in _raw are 18-decimal integers as strings. Divide by 1e18 to get token amounts.

GET https://api.onesource.io/standard/v1/branches/summary

Last 30 days

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

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://api.onesource.io/standard/v1/branches/summary"
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%2Fapi.onesource.io%2Fstandard%2Fv1%2Fbranches%2Fsummary
const res = await pay("https://api.onesource.io/standard/v1/branches/summary");
console.log(await res.json());

Example input

{}

Example output

{
  "as_of_block": 63400000,
  "basis": "branch_yield",
  "branches_total": 1000,
  "chain_id": 4663,
  "lag_blocks": 4,
  "license_price_in_branch_days": "12.5",
  "license_price_in_branch_days_basis": "current",
  "network": "robinhood",
  "serving_state": "fresh",
  "yield_issuance_source": "constants",
  "yield_per_branch_raw": "500000000000000000"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed402124 ms$0.02
8 h agoPassed402630 ms$0.02