Skip to main content

Private Channels

Private channels require login before subscribing. They provide real-time updates for account-specific data.

Account Order Update

Example Request

{
"op": "subscribe",
"args": [
{
"channel": "accountOrderUpdate",
"marketType": "inclusionPreconf",
"pricerOnly": false
}
]
}

Example Response

{
"e": "accountOrderUpdate",
"E": 1742288403296,
"s": "ETH-PC-403684",
"P": {
"o": 173639360,
"c": "613ec528",
"a": 2049,
"C": 53,
"t": 2,
"i": "ETH-PC-403684",
"m": 1000000403684,
"p": "0.00000000001",
"q": "3181683",
"F": "3181683",
"fp": "0.00003181683",
"f": "0.0000028635147",
"s": false,
"P": false,
"S": 10,
"d": 1742288403289,
"u": 1742288403289
}
}

Request

NameTypeDescription
opstringe.g.subscribe
argsobjectArguments
channelstringChannel name, e.g.,accountOrderUpdate.
marketTypestringMarket type, e.g.,inclusionPreconf.
pricerOnlybooleanFlag for only displaying pricer information. Optional. Default tofalse.

Response Body

NameTypeDescription
estringEvent type, e.g.,accountOrderUpdate
EintegerEvent timestamp in milliseconds.
ParrayArray of order objects.
ointegerOrder ID, e.g.,1234.
cstringClient Order ID, e.g.,43f4159e.
aintegerAccount ID.
CintegerUser ID who created this order. For pricer only.
tbooleanOrder Type.
istringInstrument ID.
mintegerMarket Id.
pstringOrder price.
qstringOrder total quantity.
FstringOrder filled quantity .
fpstringOrder filled price * quantity.
ffeeOrder fee.
sbooleanOrder side.
PbooleanFlag for post-only order.
SintegerOrder Status.
dintegerTimestamp of order creation time.
uintegerTimestamp of last update time.
Notes
  • Timestamp Fields: All timestamps are in milliseconds since the Unix epoch.

Account Transaction Update

Example Request

{
"op": "subscribe",
"args": [
{
"channel": "accountTransactionUpdate",
"marketType": "inclusionPreconf"
}
]
}

Example Response

{
"e": "accountTransactionUpdate",
"E": 1742288580882,
"s": "ETH-PC-403699",
"P": {
"t": 146600149,
"i": "ETH-PC-403699",
"o": 173651088,
"a": 2049,
"s": true,
"p": "0.00000000001",
"q": "1248972",
"f": "0.0000011240748",
"d": 1742288580863
}
}


Request

NameTypeDescription
opstringe.g.subscribe
argsobjectArguments
channelstringChannel name, e.g.,accountTransactionUpdate.
marketTypestringMarket type, e.g.,inclusionPreconf.

Response Body

NameTypeDescription
estringEvent type, e.g.,accountTransactionUpdate
EintegerEvent timestamp in milliseconds.
PobjectPayload data containing block builder update details.
sstringInstrument ID, e.g.,ETH-PC-403699.
tintegerTransaction ID, e.g.,123456.
istringInstrument ID, e.g.,ETH-PC-403699.
ointegerOrder ID of the trade executed, e.g.,123456.
aintegerAccount ID of the trade executed, e.g.,123.
sbooleanTraded Side, e.g.,true.
pstringTraded price, e.g.,0.00000000001.
qstringTraded quantity, e.g.,1248972.
fstringTrading fee, e.g.,0.0000011240748.
dtimestampTimestamp of the trade execution, e.g.,1742288580863.
Notes
  • Timestamp Fields: All timestamps are in milliseconds since the Unix epoch.

Account Position Update

Example Request

{
"op": "subscribe",
"args": [
{
"channel": "accountPositionUpdate",
"marketType": "inclusionPreconf",
"pricerOnly": true
}
]
}

Example Response

{
"e": "accountPositionUpdate",
"E": 1742288402217,
"P": {
"a": 2049,
"s": 403684,
"m": 1,
"q": "20427356",
"l": "0",
"p": "0",
"e": false,
"b": false,
"c": 1742288355000,
"u": 1742288402000,
"A": "20427356"
}
}

Request

NameTypeDescription
opstringe.g.subscribe
argsobjectArguments
channelstringChannel name, e.g.,accountPositionUpdate.
marketTypestringMarket type, e.g.,inclusionPreconf.
pricerOnlybooleanFlag for only displaying pricer information. Optional. Default tofalse.

Response Body

NameTypeDescription
estringEvent type, e.g.,accountPositionUpdate
EintegerEvent timestamp in milliseconds.
PobjectPayload data containing account position update details.
aintegerAccount Id.
sintegerSlot number of the position.
mintegerMarket type of the position.
qstringPosition's total quantity.
lstringPosition's locked quantity
pstringPosition purchased price.
ebooleanExpired flag.
bintegerBuilder fill enable flag.
cintegerPosition create timestamp.
uintegerPosition last updated timestamp.
AintegerPosition's available quantity.
Notes
  • Timestamp Fields: All timestamps are in milliseconds since the Unix epoch.

Preconf Bundle Update

Example Request

{
"op": "subscribe",
"args": [
{
"channel": "preconfBundleUpdate"
}
]
}

Example Response

{
"e": "preconfBundleUpdate",
"E": 1743674748083,
"P": {
"s": 519181,
"e": 1260000,
"bu": [
{
"u": "456a8e9d-ce47-421d-8135-9ed9680ab57e",
"B": 1,
"o": 1,
"txs": [
{
"r": false,
"tx": "0x02f88b827e7e8302bcff8084773594008303345094f37512b7c630890c500b02724671cf3ae5607563843b9aca009b45746847617320496e636c7573696f6e20507265636f6e66732e20c001a007797cf3e30a7d45ef43ab9b76d309b76db5f3704cb4936890245b374bad5925a00ad6fa6556dd1448beaf39fc6c5faa097eaf615144905f7d60fb72b15ded30e4",
"h": "0x653304b826eca4f48510d29e8ac2a9fcad6ecf3ef3bc3ca3a837718f3d6fa368"
},
{
"r": false,
"tx": "0x02f88b827e7e8302bd008084773594008303345094f37512b7c630890c500b02724671cf3ae5607563843b9aca009b45746847617320496e636c7573696f6e20507265636f6e66732e20c080a03b1a7ca0651410d37aedef11740e4e902a9bcb106bcb3bb1f98f18d9ed2bda25a02fabfa492e172ac244cb809d0d035c75ed4b04e5f7e92258781e7cd55daabef9",
"h": "0x3076010ac7607ae41a9dacb14b55bba5a91ca4aad1189ed90e5adac638f7d43c"
}
],
"p": "0.00000000597"
}
],
"r": "0x8f02425b5f3c522b7ef8ea124162645f0397c478"
}
}

Request

NameTypeDescription
opstringe.g.subscribe
argsobjectArguments
channelstringChannel name, e.g.,preconfBundleUpdate.

Response Body

NameTypeDescription
estringEvent type, e.g.,preconfBundleUpdate
EintegerEvent timestamp in milliseconds.
PobjectPayload data containing block builder update details.
sintegerslot ID.
eintegerEmpty block space in the slot (For block owner only.)
buarrayArray of preconf bundles in the slot.
└└ustringUUID of the bundle.
└└pstringGas price of the bundle.
└└txsarrayArray of transaction in the bundle
└└└rbooleanWhether this ethereum transaction can be reverted.
└└└txstringRaw ethereum transaction data in the bundle
└└└hstringTransaction hash of transaction data
Notes
  • Slot ID: Thes field represents the current slot being updated.
  • Timestamp Fields: All timestamps are in milliseconds since the Unix epoch.