Build an X Layer Voucher Order (unsigned)
xl_build_orderUnsigned steps to place an order on the X Layer voucher market (Seaport): kind list (sell one voucher you hold, price in OKB), offer (bid on one voucher, paid in WOKB) or coll (bid on any voucher). The seller pays a 0.75% OwlGate fee on fill. Steps: approve/wrap if needed (send), sign typed data (free), then publish with xl_post_order (pass body.order and the signature). The wallet signs itself; OwlGate never holds funds.
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": {
"kind": "<kind>",
"from": "<from>",
"price": "<price>"
},
"name": "xl_build_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| v | No | Voucher id (not needed for coll) | |
| days | No | Order lifetime in days (default 1) | |
| from | Yes | Wallet address (0x…) | |
| kind | Yes | ||
| price | Yes | Price in OKB, 0.01 to 500 |