{"uid":"cap_0PgIn8l4y3tOMDir6HHgF","slug":"split-pool-cswr-play-42050d53","name":"Split Pool CSWR Play","description":"Continuous Stake-Weighted Rollover (CSWR) pool on Base. Stake USDC, win a pool-scaled multiple or get a partial refund back. Every /v1/pool/play call is an independent event — no lobby, no batching. Payout always returns to the same wallet that signed the payment.","url":"https://split.compose.land/v1/pool/play","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"stakeUsdc":{"type":"string","description":"Stake amount in USDC (0.10-5.00)."}}},"responseSchema":{"type":"object","required":["ok","outcome","stakeAtomic","rakeAtomic","netStakeAtomic","activePoolBeforeAtomic","payoutAtomic","poolAfterAtomic","wallet","settledAt"],"properties":{"ok":{"type":"boolean"},"wallet":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Paying wallet address."},"outcome":{"enum":["win","lose"],"type":"string"},"capAtomic":{"type":["string","null"],"description":"Solvency cap applied, or null for losses."},"settledAt":{"type":"string","format":"date-time","description":"ISO timestamp when this play was processed."},"rakeAtomic":{"type":"string","description":"Rake taken in atomic USDC units."},"payoutError":{"type":["string","null"],"description":"Payout error message, or null."},"stakeAtomic":{"type":"string","description":"Stake amount in atomic USDC units (6 decimals)."},"payoutAtomic":{"type":"string","description":"Actual payout in atomic USDC units."},"payoutTxHash":{"type":["string","null"],"description":"On-chain payout transaction hash, or null."},"netStakeAtomic":{"type":"string","description":"Stake net of rake in atomic USDC units."},"poolAfterAtomic":{"type":"string","description":"Pool size after this play in atomic USDC units."},"targetPayoutAtomic":{"type":["string","null"],"description":"Target payout before solvency cap, or null for losses."},"dynamicMultiplierBps":{"type":["number","null"],"description":"Dynamic multiplier in basis points, or null."},"activePoolBeforeAtomic":{"type":"string","description":"Pool size before this play in atomic USDC units."}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.1","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.1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_CCNt7Ha3CGvWhwQKDEWpr","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Stakes USDC into a Continuous Stake-Weighted Rollover pool on Base and immediately settles a win/lose outcome with an on-chain payout.","exampleAgentPrompt":"Play a round on the Split Pool CSWR with a 0.50 USDC stake and tell me whether I won or lost and what my payout was.","exampleUseCases":[{"title":"Micro-stake pool play test","prompt":"Place a 0.10 USDC stake on the Split Pool and show me the outcome — did I win, what was the multiplier, and what's the pool size now?"},{"title":"Automated agent gambling loop","prompt":"Run a single play on the Split Pool with a 1.00 USDC stake and return the payout transaction hash and settlement time so I can log it."},{"title":"High-stake single round","prompt":"Stake 5.00 USDC on the Split Pool CSWR right now and tell me the exact payout I received on-chain and what rake was taken."}],"resultDescription":"Returns a JSON object with the play outcome (win or lose), stake and payout amounts in atomic USDC units, rake deducted, pool size before and after the play, the dynamic multiplier in basis points, solvency cap if applied, an on-chain payout transaction hash (or null on loss), and an ISO timestamp of settlement. The paying wallet address is also echoed back.","failureModes":["Stake amount outside allowed range (0.10–5.00 USDC) returns a validation error","Insufficient pool liquidity may trigger a solvency cap reducing the actual payout below target","On-chain payout transaction failure returns payoutError with a message and null payoutTxHash","x402 payment not included or malformed results in 402 Payment Required before play is attempted","Network or RPC issues on Base may delay or fail settlement"],"whenToPreferThis":"Choose this endpoint when you want an instant, single-event, on-chain USDC stake-and-payout game on Base with no lobby or batching. It is ideal for autonomous agents running independent plays, testing pool dynamics, or building automated game loops where each call is self-contained and settled immediately to the calling wallet.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:37:17.407Z","isFirstParty":false}