Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| OPINION_API_KEY | Yes | Your Opinion.trade API key (required for all operations) | |
| OPINION_CHAIN_ID | No | Network chain ID (56=BNB mainnet, 97=BNB testnet) | 56 |
| OPINION_PRIVATE_KEY | No | Your Ethereum private key for trading mode (optional, enables trading capabilities with EIP712 signing) |
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_markets | List prediction markets with filtering options (limit, offset, status) |
| get_market_details | Get detailed information about a specific market by ID |
| get_token_price | Get current price for a specific token/outcome |
| get_orderbook | Get order book (bids/asks) for a token |
| get_price_history | Get historical price data (OHLCV) for a token |
| search_markets | Search markets by keyword or phrase |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |