Skip to main content
These endpoints support spawnr account linking and wallet readiness. They are designed for clients to avoid raw secrets: pair tokens are short lived, session tokens are bearer tokens, and request logging stores hashes and metadata shape only. These routes are not all included in the public OpenAPI file yet. Treat this page as the current contract for CLI pairing and funding flows.

Pair a CLI session

Auth: logged-in web session. Rate limit: 30/min. This endpoint is called from an authenticated The Spawn web session. It returns a single-use token:
Then the CLI claims it:
Auth: none. The one-time token is the credential. Rate limit: 10/min.
Expected shape:
Pair tokens are single-use and expire after 24 hours. CLI session tokens use the st_ prefix and expire after 30 days. Expired or reused token:

Read wallet balance

Auth: none for direct balance lookup. Session-linked clients should pass the wallet address from the CLI session. Rate limit: no explicit route throttle is currently configured. Supported stablecoin balance chains include Base 8453, Ethereum 1, Arbitrum 42161, Optimism 10, Polygon 137, Celo 42220, and BSC 56.
chain_id defaults to Base mainnet, 8453. Expected shape:
Invalid addresses and unsupported chains fail closed to 0.00 rather than throwing.
Rate limit: 30/min.
Expected shape:
Success status: 201 Created.

Check funding status

Auth: none. The random code is the lookup key. Rate limit: 120/min.
Missing link:

Failure

Next