88trust / 100

Exit Fee Forecast

by api.onesource.io in Weather & location

x402 APIPassing, checked 2 h ago

The Standard Reserve (TSR), an on-chain reserve protocol on Robinhood Chain. A current-pace projection of the reserve's exit fee assuming no further withdrawals, day by day until it reaches the minimum rate. Fields ending in _raw are 18-decimal integers as strings. Divide by 1e18 to get token amounts.

GET https://api.onesource.io/standard/v1/exit/fee-forecast

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
116 ms typical, 116 ms slowest 5%
Last check
2 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/exit/fee-forecast"
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%2Fexit%2Ffee-forecast
const res = await pay("https://api.onesource.io/standard/v1/exit/fee-forecast");
console.log(await res.json());

Example input

{}

Example output

{
  "as_of_block": 63824000,
  "assumptions": [
    "Assumes no more exits happen after today; actual fees will differ once new exits are recorded.",
    "Days are counted in fixed 24-hour blocks starting from when the reserve launched.",
    "This is the baseline fee rate for the whole system, not a quote for any specific exit size; see the fee curve for that.",
    "Day 0 is today, defined by the reserve's own clock, not by whichever day has the most recent recorded data."
  ],
  "chain_id": 4663,
  "days_until_min_fee": 1,
  "expiry_schedule": [
    {
      "expires_at": "2026-09-23T01:04:04Z",
      "fee_rate_after_wad": "20000000000000000",
      "pressure_after": "0.000000000000000000",
      "source_day": 0,
      "withdrawn_after_raw": "0",
      "withdrawn_expiring_raw": "12072042428449388969743"
    }
  ],
  "fee_rate_now_basis": "measured",
  "fee_rate_now_wad": "20084525840868683",
  "forecast": [
    {
      "day_offset": 0,
      "fee_rate_wad": "20084525840868683",
      "pressure": "0.001060700000000000",
      "withdrawn_7d_raw": "12072042428449388969743"
    }
  ],
  "formula_version": "mainnet-exit-2026-10-02",
  "incomplete_days": [],
  "network": "robinhood",
  "next_fee_change_at": "2026-09-23T01:04:04Z",
  "projection": "no_further_exits",
  "schedule_as_of_block": 63824000,
  "schedule_basis": "derived"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed402116 ms$0.02