Messages
{
"id": "order-42",
"method": "wallet.execute_batch",
"payload": {
"header": {
"accountId": "123",
"market": "0x8121ee960066e4344a213f9ac7502395502aee7a",
"authNonce": "1",
"nonce": "1720000000123",
"deadline": "1720000030",
"clientOrderId": "0x0000000000000000000000000000000000000000000000000000000000000001",
"builder": "0x0000000000000000000000000000000000000000",
"builderFeePps": "0"
},
"orders": [],
"cancelSlotIdxs": [
"3"
],
"expectedOrderIds": [
"31"
],
"signature": "0x..."
},
"authorization7702": null
}WebSocket methods
Execute order batch
Place native orders and cancel slots over the wallet-bound Relay WebSocket.
WSS
/
relay
/
ws
Send
wallet.execute_batch with a connection-local id. The signed payload follows the same constraints as the REST method.Messages
{
"id": "order-42",
"method": "wallet.execute_batch",
"payload": {
"header": {
"accountId": "123",
"market": "0x8121ee960066e4344a213f9ac7502395502aee7a",
"authNonce": "1",
"nonce": "1720000000123",
"deadline": "1720000030",
"clientOrderId": "0x0000000000000000000000000000000000000000000000000000000000000001",
"builder": "0x0000000000000000000000000000000000000000",
"builderFeePps": "0"
},
"orders": [],
"cancelSlotIdxs": [
"3"
],
"expectedOrderIds": [
"31"
],
"signature": "0x..."
},
"authorization7702": null
}bearerAuth
type:http
Wallet-bound JWT supplied in the WebSocket upgrade Authorization header.
method
type:string
GET
query
type:object
account_id
type:string
required
Exactly one canonical positive uint40 Kuru trading account ID (1 through 1099511627775), without leading zero, sign, or whitespace.
Example:
123wallet.execute_batch