Download OpenAPI specification:Download
Condition registry endpoints. Supports fetching the latest condition by name, fetching a specific version by deployed address, and registering a condition from Solidity source.
Get a specific condition version by address
| name required | string Name of the condition |
| version required | string (Address) ^0x[a-fA-F0-9]{40}$ Version of the condition |
{- "address": "string",
- "local_address": "string",
- "owner": "string",
- "name": "string",
- "sol_src": "string"
}Register a condition by name and its Solidity source
| name required | string Name of the condition |
| sol_src required | string Solidity source code |
{- "name": "string",
- "sol_src": "string"
}{- "name": "string"
}