Skip to content

bullpen polymarket merge

Last updated: February 26, 2026

Merge YES and NO tokens back into USDC

Usage

bullpen polymarket merge [OPTIONS] --condition <CONDITION> --amount <AMOUNT>

Live Help

Merge YES and NO tokens back into USDC

Usage: bullpen polymarket merge [OPTIONS] --condition <CONDITION> --amount <AMOUNT>

Options:
      --condition <CONDITION>
          Condition ID (0x-prefixed 32-byte hex, e.g. 0xbd31dc8a...)
      --output <OUTPUT>
          [possible values: table, json]
      --amount <AMOUNT>
          Amount in USDC sets to merge (e.g. "10" for 10 sets)
      --env <ENV>
          [possible values: staging, production]
      --config <CONFIG>

      --partition <PARTITION>
          Custom partition as comma-separated index sets (e.g. "1,2" for binary)
      --parent-collection <PARENT_COLLECTION>
          Parent collection ID for nested positions (defaults to zero)
      --yes
          Skip confirmation prompt
  -h, --help
          Print help

Example Commands

bullpen polymarket merge [OPTIONS] --condition <CONDITION> --amount <AMOUNT>
bullpen polymarket merge --help
bullpen polymarket merge --output json

Example Data

Representative JSON shape for automation and integrations:

{
  "command": "bullpen polymarket merge",
  "ok": true,
  "message": "Operation completed",
  "transaction_id": "sample_tx_123",
  "last_updated": "2026-02-26"
}