Skip to content

bullpen polymarket position-id

Last updated: February 26, 2026

Calculate a position ID from collateral token and collection ID

Usage

bullpen polymarket position-id [OPTIONS] --collection <COLLECTION>

Live Help

Calculate a position ID from collateral token and collection ID

Usage: bullpen polymarket position-id [OPTIONS] --collection <COLLECTION>

Options:
      --collateral <COLLATERAL>  Collateral token address (defaults to USDC on Polygon) [default: 0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174]
      --output <OUTPUT>          [possible values: table, json]
      --collection <COLLECTION>  Collection ID (0x-prefixed 32-byte hex)
      --env <ENV>                [possible values: staging, production]
      --config <CONFIG>          
  -h, --help                     Print help

Example Commands

bullpen polymarket position-id [OPTIONS] --collection <COLLECTION>
bullpen polymarket position-id --help
bullpen polymarket position-id --output json

Example Data

Representative JSON shape for automation and integrations:

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