{"uid":"cap_iyceBAk9oz15tWNkQ47XM","slug":"onesource-tsr-s-bills-staking-decision-api-017c4ffb","name":"OneSource TSR S-Bills Staking Decision API","description":"Three data families for AI agents: live Ethereum mainnet, Sepolia testnet, and Robinhood Chain RPC reads, plus Deepstate on-chain market data (order books, trades, candles, and analytics), plus The Standard Reserve (TSR), an on-chain reserve protocol on Robinhood Chain (supply, policy, epochs, auctions, branches, vaults, exit pressure). Pay per call or use batch/session mode: USDC on Base via x402, or pathUSD/USDC.e on Tempo via MPP. No API key required to start; a flat-rate monthly subscription is also available.","url":"https://api.onesource.io/standard/v1/decisions/stake?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["amount"],"properties":{"amount":{"type":"string","description":"whole STANDARD tokens as a decimal string, up to 18 decimal places"},"wallet":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"optional 0x wallet address; adds its open S-Bills principal and cap headroom"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"basis":{"type":"string"},"parts":{"type":"object"},"network":{"type":"string"},"summary":{"type":"object"},"waiting":{"type":"object"},"chain_id":{"type":"integer"},"as_of_basis":{"type":"string"},"as_of_block":{"type":"integer"},"assumptions":{"type":"array"},"parts_as_of_blocks":{"type":"object"}},"description":"Endpoint-specific response payload"}}}}},"responseSchema":{"type":"json","example":{"basis":"decision_composite","parts":{"sbills_quote":{"data":{"amount_raw":"1000000000000000000000","premium_raw":"22084982312670000000","quote_as_of_block":78568272},"status":"ok"},"wallet_sbills":{"error":"wallet query parameter not provided","status":"not_ready"},"sbills_current":{"data":{"closed":false,"paused":false,"drifting":true},"status":"ok"}},"network":"robinhood","summary":{"closed":false,"paused":false,"drifting":true,"amount_raw":"1000000000000000000000","premium_raw":"22084982312670000000","seconds_to_ceiling":197000,"rate_paid_per_term_wad":"22084982312670000","rate_per_term_wad_in_1h_if_no_deposits":"22923837351682252"},"waiting":{"basis":"derived","error":null,"inputs":{"ceiling_wad":{"basis":"measured","value":"70000000000000000","source":"SBills.ceiling","as_of_block":78568272},"current_rate_wad":{"basis":"measured","value":"22090504018350652","source":"SBills.currentRate","as_of_block":78568272},"drift_per_second_wad":{"basis":"measured","value":"231481481481","source":"SBills.driftPerSecond","as_of_block":78568272}},"points":[{"rate":{"rate_basis":"per_term","term_seconds":1296000,"rate_per_term_wad":"22923837351682252"},"at_ts":"2026-10-02T13:00:00Z","horizon":"1h","horizon_seconds":3600,"quote_rate_paid":{"rate_basis":"per_term","term_seconds":1296000,"rate_per_term_wad":"22918107347386000"},"ceiling_reached_by_then":false}],"formula":"min(rate + drift_per_second * (t - rate_updated_at), ceiling) while drifting…","drifting":true,"rate_now":{"rate_basis":"per_term","term_seconds":1296000,"rate_per_term_wad":"22090504018350652"},"assumption":"if nobody else deposits and the admin does not change rate parameters","seconds_to_ceiling":197000,"ceiling_reached_at_ts":"2026-10-04T10:23:51Z"},"chain_id":4663,"as_of_basis":"parts_min","as_of_block":78568272,"assumptions":["waiting: if nobody else deposits and the admin does not change rate parameters."],"parts_as_of_blocks":{"sbills_quote":78568272,"wallet_sbills":null,"sbills_current":78568270}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_fb7Zdq37v8hmTejzzVKJX","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a composite staking decision for STANDARD tokens on Robinhood Chain S-Bills, including current rate, rate drift projection, premium quote, and wallet-specific capacity headroom.","exampleAgentPrompt":"What's the current S-Bills staking decision for 1000 STANDARD tokens on Robinhood Chain — is the pool open, what's the premium, and how fast is the rate drifting toward the ceiling?","exampleUseCases":[{"title":"Pre-stake yield check for large deposit","prompt":"I'm about to stake 50000 STANDARD tokens into S-Bills. Can you pull the staking decision so I know the current rate, the premium I'd earn, and whether the pool is drifting toward its ceiling before I commit?"},{"title":"Wallet-specific capacity and headroom check","prompt":"Check the S-Bills staking decision for my wallet 0xAbCd1234AbCd1234AbCd1234AbCd1234AbCd1234 with 500 STANDARD tokens — I want to know my open principal, cap headroom, and if there are any paused or closed flags."},{"title":"Rate ceiling timing for staking strategy","prompt":"How many seconds until the S-Bills rate hits its ceiling if nobody else deposits, and what will the rate be in 1 hour? I want to time my STANDARD token stake for the best yield."}],"resultDescription":"A JSON composite with staking decision status (open/paused/closed/drifting), a premium quote in raw STANDARD token units, projected rate drift over time (including rate-per-term in WAD, seconds to ceiling, and ceiling-reached timestamp), optional wallet-specific S-Bills principal and headroom, and block-stamped provenance for each data part.","failureModes":["Missing required 'amount' query parameter returns a validation error","Invalid wallet address format returns a pattern mismatch error","Wallet query provided but address not found on-chain returns a 'not_ready' status for wallet_sbills part","Pool is paused or closed, reflected in summary flags rather than an error","Rate parameters may change between block reads, causing drift projections to be stale","Network congestion on Robinhood Chain may delay block reads","Payment not provided or insufficient USDC on Base / pathUSD on Tempo returns a 402 error"],"whenToPreferThis":"Use this endpoint when an agent needs a decision-ready composite view of S-Bills staking on Robinhood Chain — combining live rate, drift projection, premium quote, and optionally wallet-specific capacity in a single call. Prefer this over raw RPC calls when you need interpreted staking analytics rather than raw contract state, or when you want pre-computed rate-to-ceiling timing without assembling multiple eth_call responses yourself.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-21T12:35:25.620Z","isFirstParty":false,"canonicalSlug":"onesource-tsr-s-bills-staking-decision-api-017c4ffb"}