submit_order
Relay a pre-signed order to the chain's Ophis orderbook. Pass the exact order object and fullAppData from build_order, plus your EIP-712 signature and from (owner). Returns the order UID on success and enrolls the owner for indexing, referral attribution, and trade rewards.
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": {
"chainId": "<chainId>",
"order": "<order>",
"signature": "<signature>",
"from": "<from>",
"fullAppData": "<fullAppData>"
},
"name": "submit_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | Yes | The owner address that signed. | |
| order | Yes | The order object returned by build_order. | |
| chainId | Yes | EVM chain id the order was built for. | |
| signature | Yes | 0x EIP-712 signature over the order by the owner. | |
| fullAppData | Yes | The fullAppData string returned by build_order. | |
| signingScheme | No | Signature scheme over the order (default 'eip712'). |