Publish a Signed X Layer Order
xl_post_orderPublish an order you built with xl_build_order and signed (EIP-712 typed data, free, no gas) to the OwlGate book on X Layer: pass the order object from the post step and your signature. OwlGate checks the signature, funds and approval before it goes live. Returns the order hash (use it with xl_cancel).
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": {
"order": "<order>",
"signature": "<signature>"
},
"name": "xl_post_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order | Yes | body.order from the xl_build_order post step | |
| signature | Yes | Signature from the sign step (0x…) |