Hinkal API

Recipient Info

Get the caller's shielded recipient handle

GET/recipient-info
https://api.hinkal.io/recipient-info

Returns a recipientInfo handle that other users pass to /transfer or /deposit-for-other (EVM/Tron) or /deposit-solana-for-other (Solana) to send funds to this wallet's shielded balance. Read-only — requires an active session. Pass sessionId and nonce as query parameters and include x-hinkal-request-signature: secp256k1_sign(SHA256("GET /recipient-info\n" + queryString)).

Query parameters

NameTypeDescription
sessionIdrequiredstring (uuid)Session identifier UUID from POST /create-session
noncerequiredstring (uuid)Per-request UUID. Echoed back in the response.
chainIdrequiredstringChain ID (e.g. 10 for Optimism, 501 for Solana mainnet)

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

200Recipient handle
NameTypeDescription
successrequiredboolean
One of: true
recipientInforequiredstring
noncerequiredstringEchoed per-request nonce from the request.
401Invalid signature or reused nonce
NameTypeDescription
successrequiredboolean
One of: false
errorrequiredstring
500Server error
NameTypeDescription
successrequiredboolean
One of: false
errorrequiredstring