Skip to content

bullpen polymarket collection-id

Last updated: February 26, 2026

Calculate a collection ID from condition ID and index set

Usage

bullpen polymarket collection-id [OPTIONS] --condition <CONDITION> --index-set <INDEX_SET>

Live Help

Calculate a collection ID from condition ID and index set

Usage: bullpen polymarket collection-id [OPTIONS] --condition <CONDITION> --index-set <INDEX_SET>

Options:
      --condition <CONDITION>
          Condition ID (0x-prefixed 32-byte hex)
      --output <OUTPUT>
          [possible values: table, json]
      --env <ENV>
          [possible values: staging, production]
      --index-set <INDEX_SET>
          Index set bitmask (1 = YES, 2 = NO for standard binary markets)
      --config <CONFIG>

      --parent-collection <PARENT_COLLECTION>
          Parent collection ID (0x-prefixed 32-byte hex, defaults to zero) [default: 0x0000000000000000000000000000000000000000000000000000000000000000]
  -h, --help
          Print help

Example Commands

bullpen polymarket collection-id [OPTIONS] --condition <CONDITION> --index-set <INDEX_SET>
bullpen polymarket collection-id --help
bullpen polymarket collection-id --output json

Example Data

Representative JSON shape for automation and integrations:

{
  "command": "bullpen polymarket collection-id --output json",
  "ok": true,
  "data": {
    "example": "This is a representative output shape."
  },
  "last_updated": "2026-02-26"
}