Skip to main content
POST
/
transactions
/
recover
Queue recovery
curl --request POST \
  --url http://localhost:5001/transactions/recover \
  --header 'X-blnk-key: <api-key>'
Use client.Transaction.RecoverQueue to retry queued transactions.
1

Call the method

client.Transaction.RecoverQueue
result, resp, err := client.Transaction.RecoverQueue(blnkgo.RecoverQueueRequest{
	Threshold: "5m",
})
FieldTypeDescription
ThresholdstringMinimum age of transactions to recover (for example 5m, 1h). Default 2m. Minimum 2 minutes.
2

Check how many were recovered

Read result.Recovered to see how many transactions were re-enqueued. Use get by ID or the Core Search API to verify individual transaction statuses afterward.
3

Response

200 OK
{
  "recovered": 3,
  "threshold": "5m0s"
}
FieldTypeDescription
recoverednumberNumber of transactions re-enqueued for processing.
thresholdstringThreshold duration that was used.

Concurrency & queuing

Why Blnk queues transactions for hot balances.

Recover queued transactions

HTTP request and response schema.

Need help?

We are very happy to help you make the most of Blnk, regardless of whether it is your first time or you are switching from another tool. To ask questions or discuss issues, please contact us or join our Discord community.