88trust / 100

Branches License Cost

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. Today's Branch license cost in ETH, compared against the charter auction's own price to show which path costs less. 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/license-cost

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
118 ms typical, 118 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/license-cost"
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%2Fbranches%2Flicense-cost
const res = await pay("https://api.onesource.io/standard/v1/branches/license-cost");
console.log(await res.json());

Example input

{}

Example output

{
  "as_of_block": 63512040,
  "assumptions": [
    "estimate: the ETH cost is a single-range constant-liquidity approximation"
  ],
  "basis": "license_cost",
  "chain_id": 4663,
  "charter": {
    "live": true,
    "price_currency": "ETH",
    "price_raw": "2000000000000000"
  },
  "cheapest_path": "charter",
  "cheapest_path_reasoning": {
    "charter_live": true,
    "charter_price_raw": "2000000000000000",
    "license_eth_cost_estimate_raw": "1560000000000"
  },
  "estimate": true,
  "license": {
    "buy_tax_bps": "90",
    "eth_cost_estimate_raw": "1560000000000",
    "lp_fee_bps": "100.00",
    "phase": "live",
    "price_currency": "STANDARD",
    "price_impact_bps": "12.34",
    "price_in_branch_days": "3.2100",
    "price_raw": "150000000000000000"
  },
  "network": "robinhood"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed402118 ms$0.02