| name | opinion |
| description | Opinion.trade prediction market (BNB Chain CLOB) |
| emoji | 🗳️ |
| commands | ["/op"] |
Opinion.trade
Full integration with Opinion.trade, a BNB Chain prediction market with on-chain CLOB (Central Limit Order Book).
Quick Start
export OPINION_API_KEY="your-api-key"
export OPINION_PRIVATE_KEY="0x..."
/op markets trump
/op price 813
/op buy 813 YES 0.55 100
Commands
Market Data
| Command | Description |
|---|
/op markets [query] | Search markets |
/op market <id> | Get market details |
/op price <id> | Current prices |
/op book <tokenId> | Show orderbook |
Trading
| Command | Description |
|---|
/op buy <marketId> <outcome> <price> <size> | Place buy order |
/op sell <marketId> <outcome> <price> <size> | Place sell order |
/op cancel <orderId> | Cancel order |
/op cancelall | Cancel all orders |
/op orders | List open orders |
Examples:
/op buy 813 YES 0.55 100
/op sell 813 NO 0.40 50
/op cancel abc123
Account
| Command | Description |
|---|
/op balance | Check USDT balance |
/op positions | View open positions |
Configuration
export OPINION_API_KEY="your-api-key"
export OPINION_PRIVATE_KEY="0x..."
export OPINION_MULTISIG_ADDRESS="0x..."
Features
- BNB Chain - Fast, low-cost transactions
- On-chain CLOB - Fully decentralized orderbook
- Prediction Markets - Politics, crypto, sports, and more
- Real-time WebSocket - Live price updates
- EIP-712 Signing - Secure order authentication
Resources