Browse, estimate, subscribe to, and manage IPO subscriptions on Leapcat via the leapcat CLI.
Browse, estimate, subscribe to, and manage IPO (Initial Public Offering) project subscriptions using the leapcat.
npx [email protected] which auto-downloads the CLI)npx [email protected] auth login --email <email> firstkyc status should return APPROVED)auth trade-password status should confirm it is set)List all available IPO projects.
npx [email protected] ipo projects --json
Get detailed information about a specific IPO project.
npx [email protected] ipo project --id <project-id> --json
Parameters:
--id <project-id> — The IPO project identifierEstimate the cost of subscribing to an IPO with a given quantity.
npx [email protected] ipo estimate --id <project-id> --quantity <shares> --json
Parameters:
--id <project-id> — The IPO project identifier--quantity <shares> — Number of shares to subscribe forSubmit an IPO subscription order.
npx [email protected] ipo subscribe --id <project-id> --quantity <shares> --json
Parameters:
--id <project-id> — The IPO project identifier--quantity <shares> — Number of shares to subscribe forCancel a pending IPO subscription.
npx [email protected] ipo cancel --subscription-id <id> --json
Parameters:
--subscription-id <id> — The subscription identifier to cancelList all of the user's IPO subscriptions.
npx [email protected] ipo subscriptions --json
Get details of a specific IPO subscription.
npx [email protected] ipo subscription --subscription-id <id> --json
Parameters:
--subscription-id <id> — The subscription identifieripo projects --json to see all available IPOs.ipo project --id <id> --json to review terms, pricing, and deadlines.ipo estimate --id <id> --quantity <shares> --json to see the total cost before committing.ipo subscribe --id <id> --quantity <shares> --json to place the subscription. The user may be prompted for their trade password.ipo subscription --subscription-id <id> --json or ipo subscriptions --json to monitor the result.ipo cancel --subscription-id <id> --json to cancel a pending subscription (only before the subscription deadline).| Error | Cause | Resolution |
|---|---|---|
NOT_AUTHENTICATED | Session expired | Re-authenticate with auth login |
KYC_NOT_APPROVED | KYC verification incomplete | Complete the KYC flow first |
TRADE_PASSWORD_NOT_SET | Trade password required | Set trade password via auth trade-password set |
INSUFFICIENT_BALANCE | Not enough funds to cover subscription | Deposit funds via wallet deposit-address |
PROJECT_NOT_FOUND | Invalid project ID | Re-check with ipo projects --json |
SUBSCRIPTION_DEADLINE_PASSED | IPO subscription period has ended | No action possible — deadline has passed |
CANCEL_NOT_ALLOWED | Subscription cannot be cancelled at this stage | Check subscription status for details |