Hinkal API

Get Receive Vault Account

List the caller's receive addresses and blocked funds

GET/receive-vault-account
https://api.hinkal.io/receive-vault-account

Read-only — requires an active session. Pass sessionId and nonce as query parameters and include x-hinkal-request-signature: secp256k1_sign(SHA256("GET /receive-vault-account\n" + queryString)) in the headers, in both normal mode and EIP-712 mode sessions.

Returns every receive and transfer address issued so far (entries; a transfer address also shows its recipient and bridge destination), and any balance sitting in one that the relayer declined to shield (blockedFunds). A fund is blocked when the sender was flagged, the address expired, the token cannot be shielded, or the payment could not be attributed — blocked funds are never lost, only the address's owner can move them, via POST /receive-vault-recover.

Query parameters

NameTypeDescription
sessionIdrequiredstring (uuid)Session identifier UUID from POST /create-session
noncerequiredstring (uuid)Per-request UUID. Echoed back in the response.
chainIdrequiredstringAny chain ID — used only to initialize the session; the response spans every network regardless of which chain is passed.

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

200Receive addresses and blocked funds
NameTypeDescription
successrequiredboolean
One of: true
entriesrequiredany[]
blockedFundsrequiredobject[]
blockedFunds[].recordrequiredanyA ReceiveVaultRecord; a transfer address also shows where it pays out (recipientAddress is set only on transfer addresses).
blockedFunds[].tokenrequiredobjectA token entry from a chain's registry, as served by /supported-tokens.
blockedFunds[].token.chainIdrequiredinteger
blockedFunds[].token.erc20TokenAddressrequiredstringToken contract address. The chain's native asset uses the zero address.
blockedFunds[].token.namerequiredstring
blockedFunds[].token.symbolrequiredstring
blockedFunds[].token.decimalsrequiredinteger
blockedFunds[].token.logoURIstringURL of the token logo (optional)
blockedFunds[].amountrequiredstringAmount in the token's smallest unit
blockedFunds[].reasonrequiredstringWhy the relayer declined to shield this balance
One of: "expired", "notShieldable", "riskySender"
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