get_abi
Retrieve the ABI for GuessMarket smart contracts to build on-chain trading transactions, including PredictionMarket, MarketFactory, ERC20, FeeManager, Oracle, and SimpleOracle.
Instructions
Get the ABI (Application Binary Interface) for a GuessMarket smart contract. Use this to build transactions for on-chain trading. Valid contracts: PredictionMarket, MarketFactory, ERC20, FeeManager, Oracle, SimpleOracle.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"contract": "<contract>"
},
"name": "get_abi"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contract | Yes | Contract name |