85trust / 100
Decisions Plan
by api.onesource.io in Onchain & crypto
x402 APIPassing, checked 1 h ago
The Standard Reserve (TSR), an on-chain reserve protocol on Robinhood Chain. Simulates keep, selective, and aggressive Branch-expansion strategies over a horizon, seeded from this API's own live routes. A simulation for exploring tradeoffs, not a forecast.
GET https://api.onesource.io/standard/v1/decisions/plan
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 134 ms typical, 137 ms slowest 5%
- Last check
- 1 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/plan?budget_eth_raw=5000000000000000000&charter_id=42&horizon_days=30"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%2Fdecisions%2Fplan
const res = await pay("https://api.onesource.io/standard/v1/decisions/plan?budget_eth_raw=5000000000000000000&charter_id=42&horizon_days=30");
console.log(await res.json());Example input
{
"budget_eth_raw": "5000000000000000000",
"charter_id": 42,
"horizon_days": 30
}Example output
{
"as_of_block": 63499000,
"assumptions": {
"budget_eth_raw": {
"source": "user_supplied",
"value": "5000000000000000000"
},
"exit_mode": {
"source": "default",
"value": "all"
},
"horizon_days": {
"source": "user_supplied",
"value": 30
},
"own_branches": {
"source": "seeded_live",
"value": 4
}
},
"assumptions_text": "This plan is a simulation, not a forecast. It assumes today's issuance rate, license price, and pool price hold steady for every day of the horizon.",
"basis": "scenario_plan",
"chain_id": 4663,
"estimate": true,
"limitations": [
"The bank's multiplier (issuance rate) is held fixed for the whole horizon; it is not simulated to move with system-wide pressure.",
"This is a simulation, not a forecast."
],
"network": "robinhood",
"strategies": {
"aggressive": {
"branches_after": 34,
"branches_before": 4,
"licenses_bought": 30
},
"keep": {
"branches_after": 4,
"branches_before": 4,
"delta_vs_keep_eth_raw": null,
"licenses_bought": 0,
"net_cash_eth_raw": "470000000000000"
},
"selective": {
"branches_after": 8,
"branches_before": 4,
"licenses_bought": 4
}
}
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 1 h ago | Passed | 402 | 522 ms | $0.05 |
| 4 h ago | Passed | 402 | 134 ms | $0.05 |
| 7 h ago | Passed | 402 | 137 ms | $0.05 |
| 12 h ago | Passed | 402 | 117 ms | $0.05 |