Hinkal API

Get Private Send Order

Get the status of a private send order

GET/private-send/{orderId}
https://api.hinkal.io/private-send/{orderId}

Read-only — requires an active session. Pass sessionId and nonce as query parameters and include x-hinkal-request-signature: secp256k1_sign(SHA256(binding + "\n" + queryString)) in the headers. The route pattern is parameterized, so binding is the literal string "GET /private-send/:orderId" — with the :orderId placeholder unresolved, not the actual orderId value from the URL.

Path parameters

NameTypeDescription
orderIdrequiredstring

Query parameters

NameTypeDescription
sessionIdrequiredstring (uuid)Session identifier UUID from POST /create-session
noncerequiredstring (uuid)Per-request UUID. Echoed back in the response.

Header parameters

NameTypeDescription
x-hinkal-request-signaturerequiredstringHex-encoded compact secp256k1 signature: secp256k1_sign(SHA256(binding + "\n" + payload)), where binding is "<METHOD> <routePath>" (this route's own method and path, e.g. "POST /deposit" or "GET /balance") and payload is JSON.stringify(body) for POST requests or the raw query string for GET requests. Binding the route into the signed digest stops a signature captured for one endpoint from being replayed against another. See Authentication for the full signing scheme.

Responses

200Order status
NameTypeDescription
successrequiredboolean
One of: true
statusrequiredstring
One of: "processing", "scheduled", "failed"
scheduledTransactionsobject[]Per-recipient withdrawal statuses, present when the order is scheduled
scheduledTransactions[].statusrequiredstring
One of: "pending", "processing", "waiting_for_relayer", "sent_on_chain", "completed", "failed", "deposit_failed"
scheduledTransactions[].scheduledTimerequiredstring
scheduledTransactions[].txHashrequiredstring
400Validation error
NameTypeDescription
successrequiredboolean
One of: false
errorrequiredstring
401Invalid signature or reused nonce
NameTypeDescription
successrequiredboolean
One of: false
errorrequiredstring
404Order not found, or the order was created by POST /private-send-bridge
NameTypeDescription
successrequiredboolean
One of: false
errorrequiredstring
500Server error
NameTypeDescription
successrequiredboolean
One of: false
errorrequiredstring