Skip to content
Regents Labs Docs

Staking

A signed-in person's stake as Stake shows it, and where wallet actions happen.

Set up agent
On this page

Request

GET /api/v1/staking/position, with the same two Privy tokens as Claims, returns what Stake shows for the wallet on that sign-in: the REGENT it has staked and holds, the USDC and REGENT it can claim, and the contract's totals. A paired agent reads the same through Signed reads.

Answer

Every figure is a Base reading with the block it was read at. Amounts are exact decimal strings, and a figure that could not be read is "unavailable".

Errors

Errors share the one shape.

CodeMeaning
400 invalid_queryThe request carried a query string; send it without one.
401 authentication_requiredThe two Privy tokens are missing, do not match or have expired.
409 wallet_requiredThe sign-in has no wallet linked.
429 rate_limitedPast the Base reading budget. Wait the seconds in Retry-After.
503 staking_unavailableBase has not answered yet; try again in a moment.
503 staking_unconfiguredSign-in checks are not set up on this server.

Wallet actions

Stake and Redeem are where wallet actions happen. Every transaction needs the person's own approval in their wallet. Network fees and contract conditions apply, and staking returns are not guaranteed. These docs never authorize a payment, signature, credential change or other change.