bullpen polymarket redeem¶
Last updated: May 29, 2026
Redeem resolved prediction market positions
Usage¶
Live Help¶
Redeem resolved prediction market positions
Usage: bullpen polymarket redeem [OPTIONS]
Options:
--address <ADDRESS>
Wallet address (defaults to your own Polymarket address)
--output <OUTPUT>
Output format for command results
[possible values: table, json]
--condition-ids <CONDITION_IDS>
Condition IDs to redeem (comma-separated)
--env <ENV>
Target environment to connect to (overrides config.toml)
[env: BULLPEN_ENV=]
[possible values: staging, production]
--collateral <COLLATERAL>
Collateral token address override for unusual support cases. Defaults to automatic relayer-path detection; only supply this flag if support asks for it
--config <CONFIG>
Path to a custom config.toml file (overrides $BULLPEN_CONFIG and the default location).
Explicit --config and BULLPEN_CONFIG paths fail closed: if the file is missing, the CLI exits validation instead of silently loading defaults. Credentials still resolve via BULLPEN_HOME, so set BULLPEN_HOME too when isolating a session.
--index-sets <INDEX_SETS>
Index sets to redeem as comma-separated integers (defaults to [1,2] for binary markets; use e.g. 1,2,4 for 3-outcome markets)
--yes
Skip confirmation prompt
--no-preflight
Skip only the early CLI payoutDenominator UX check; the core zero-payout guard still blocks known zero-payout redeems
--read-only
Enable read-only mode: blocks all mutating commands
--non-interactive
Suppress interactive prompts; does NOT imply --yes for money-moving commands
[env: BULLPEN_NON_INTERACTIVE=]
--dry-run
Print the redeem submission plan, then exit without submitting. Useful for support diagnostics: run with --dry-run and paste the JSON output into a Freshdesk ticket
-h, --help
Print help (see a summary with '-h')
EXAMPLES:
bullpen polymarket redeem --help
Show options for this command without signing, submitting, or changing state.
Example Commands¶
bullpen polymarket redeem [OPTIONS]
bullpen polymarket redeem --help
bullpen polymarket redeem --output json
JSON Output¶
Contract: JSON Output Contract.
This command supports --output json, but this generated reference page intentionally does not include a synthetic success schema or example.
Use the live command in your target environment to inspect command-specific success fields. Error output follows the shared JSON output contract linked above.
Error Envelope¶
When a Polymarket CLOB or gasless-relayer rejection coincides with a degraded Polymarket status page, the error envelope may include a polymarket_status object:
{
"polymarket_status": {
"page_status": "HASISSUES",
"status_url": "https://status.polymarket.com",
"affected_components": [
{"name": "CLOB API", "status": "PARTIALOUTAGE"}
],
"advisory": "Polymarket is experiencing issues; this rejection is most likely a Polymarket-side outage."
}
}
The field is omitted on local validation/auth/balance errors and when the status-page fetch times out or reports healthy relevant components.
Schema version: 1 when a command emits schema_version; otherwise treat the current command shape as contract version 1.
Stability¶
Patch releases may add nullable or optional fields. Minor releases may add required fields or increment schema_version. Major releases may remove or rename fields.