Hinkal API
Recipient Info
Get the caller's shielded recipient handle
GET
/recipient-infohttps://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
| Name | Type | Description |
|---|---|---|
sessionIdrequired | string (uuid) | Session identifier UUID from POST /create-session |
noncerequired | string (uuid) | Per-request UUID. Echoed back in the response. |
chainIdrequired | string | Chain ID (e.g. 10 for Optimism, 501 for Solana mainnet) |
Header parameters
| Name | Type | Description |
|---|---|---|
x-hinkal-request-signaturerequired | string | Hex-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
| Name | Type | Description |
|---|---|---|
successrequired | boolean | |
recipientInforequired | string | |
noncerequired | string | Echoed per-request nonce from the request. |
401Invalid signature or reused nonce
| Name | Type | Description |
|---|---|---|
successrequired | boolean | |
errorrequired | string |
500Server error
| Name | Type | Description |
|---|---|---|
successrequired | boolean | |
errorrequired | string |