FAQ
Installation & Setup
Q: What Python versions are supported?
python --version # Must be 3.8+Q: How do I install the SDK?
pip install opinion_clob_sdkQ: Where do I get API credentials?
Q: What's the difference between private_key and multi_sig_addr?
private_key and multi_sig_addr?Configuration
Q: Which chain IDs are supported?
Q: How do I configure caching?
Trading
Q: What's the difference between market and limit orders?
Feature
Market Order
Limit Order
Q: Should I use makerAmountInQuoteToken or makerAmountInBaseToken?
makerAmountInQuoteToken or makerAmountInBaseToken?Q: Do I need to call enable_trading() before every order?
enable_trading() before every order?Q: How do I cancel all my open orders?
Smart Contracts
Q: What's the difference between split, merge, and redeem?
Operation
Purpose
When to Use
Gas Required
Q: Why do I need BNB if orders are gas-free?
Q: Can I split without calling enable_trading()?
enable_trading()?Errors
Q: What does InvalidParamError mean?
InvalidParamError mean?Q: What does OpenApiError mean?
OpenApiError mean?Q: What does errno != 0 mean in responses?
errno != 0 mean in responses?Performance
Q: Why are my API calls slow?
Q: How do I reduce API calls?
Data & Precision
Q: How do I convert USDT amount to wei?
Q: How are prices formatted?
Q: What token amounts are in the API responses?
Troubleshooting
Q: "ModuleNotFoundError: No module named 'opinion_clob_sdk'"
Q: "InvalidParamError: chain_id must be one of [56]"
Q: "OpenApiError: Cannot place order on different chain"
Q: "BalanceNotEnough" error when calling split/merge
Q: "InsufficientGasBalance" error
Last updated