Withdraw Queue

Retrieve protocol information related to withdrawals

As explained in the lifecycle section, withdrawal operations are completed by the withdraw queue, a process is triggered every ~3 Bitcoin blocks for bitcoin withdrawals, and ~every 21 Ethereum slots for ethereum withdrawals. The withdraw queue processes the destination transactions of staged operations in batches due to the throughput constraints of supported networks.

This endpoint can better inform the status of withdrawal operations.

Endpoint

GET /withdrawal-queue

200: OK Successful Response

{
  "bitcoin": {
    "lastWithdrawQueueOperationTxID": "f15cf8bb590cd7d50dc9d892c9d4d5ba370887f462cd5ac5e61ad2696b19e6cd",
    "withdrawalQueueLength": 2
  },
  "ethereum": {
    "lastWithdrawQueueOperationTxID": "0x95f792c9ba7d31d33b6d631824756e74cd85e6c1cb5d677b4614c324f57c6aa7",
    "withdrawalQueueLength": 0
  }
}

400: Error Response

{"error":"invalid request"}

Last updated