86trust / 100

Decisions Charter

by api.onesource.io in Onchain & crypto

x402 APIPassing, checked 4 h ago

The Standard Reserve (TSR), an on-chain reserve protocol on Robinhood Chain. Everything relevant to deciding whether to buy into a new charter right now, bundled into one call.

GET https://api.onesource.io/standard/v1/decisions/charter

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
118 ms typical, 118 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://api.onesource.io/standard/v1/decisions/charter"
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%2Fapi.onesource.io%2Fstandard%2Fv1%2Fdecisions%2Fcharter
const res = await pay("https://api.onesource.io/standard/v1/decisions/charter");
console.log(await res.json());

Example input

{}

Example output

{
  "as_of_basis": "parts_min",
  "as_of_block": 63499000,
  "assumptions": [],
  "basis": "decision_composite",
  "chain_id": 4663,
  "network": "robinhood",
  "parts": {
    "auctions_current": {
      "data": {},
      "status": "ok"
    },
    "auctions_days_charter": {
      "data": {
        "days": []
      },
      "status": "ok"
    },
    "backing_current": {
      "data": {},
      "status": "ok"
    },
    "doi": {
      "data": {},
      "status": "ok"
    },
    "governance": {
      "data": {
        "pending": []
      },
      "status": "ok"
    },
    "holders_concentration": {
      "data": {
        "cohort_split": {}
      },
      "status": "ok"
    },
    "license_cost": {
      "data": {
        "cheapest_path": "charter"
      },
      "status": "ok"
    }
  },
  "parts_as_of_blocks": {
    "auctions_current": 63499000,
    "license_cost": 63499100
  },
  "summary": {
    "charter_live": true,
    "charter_price_raw": "2000000000000000000",
    "cheapest_path": "charter",
    "concentration_hhi": 812.4,
    "days_of_issuance": "4.20",
    "eth_backing_per_standard_excluding_pol": "0.83",
    "pending_governance_changes": 0
  }
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
4 h agoPassed402118 ms$0.05