Hinkal API
Proofless Deposit
Build a deposit transaction without a ZK proof
POST
/proofless-deposithttps://api.hinkal.io/proofless-deposit
Like /deposit, but skips client-side proof generation. On Solana this is equivalent to
/deposit (same code path). Authorized by a normal mode session (secp256k1 request signature,
bound to "POST /proofless-deposit") or an EIP-712 mode session with a per-transaction
EIP-712 typed-data signature (primary type ProoflessDeposit) on EVM/Tron, or an ed25519
plain-text signature on Solana.
Header parameters
| Name | Type | Description |
|---|---|---|
x-hinkal-request-signature | string | Required for normal mode sessions: hex-encoded compact secp256k1 signature secp256k1_sign(SHA256(binding + "\n" + JSON.stringify(body))), where binding is "POST <routePath>" for this endpoint. Omit for EIP-712 mode sessions — include signature in the request body instead. See Authentication for the full signing scheme. |
Request body application/jsonrequired
| Name | Type | Description |
|---|---|---|
sessionIdrequired | string (uuid) | |
noncerequired | string (uuid) | |
signature | string | EIP-712 or ed25519 signature (EIP-712 mode only) |
chainIdrequired | integer | |
tokenAddressesrequired | string[] | |
amountsrequired | string[] | |
ref | string | Referral code for attribution (must be a whitelisted referral identifier). Attribution is confirmed once the deposit lands on-chain - not at request time, since this endpoint returns an unsigned tx the caller broadcasts itself. |
Responses
200Unsigned deposit transaction
| Name | Type | Description |
|---|---|---|
successrequired | boolean | |
txDatarequired | one of | |
noncerequired | string | Echoed per-request nonce from the request, added before signing. |
400Validation error
| Name | Type | Description |
|---|---|---|
successrequired | boolean | |
errorrequired | string |
401Invalid signature or reused nonce
| Name | Type | Description |
|---|---|---|
successrequired | boolean | |
errorrequired | string |
409Request `nonce` already consumed. Each `nonce` is single-use; generate a fresh UUID for every request.
| Name | Type | Description |
|---|---|---|
successrequired | boolean | |
errorrequired | string |
500Server error
| Name | Type | Description |
|---|---|---|
successrequired | boolean | |
errorrequired | string |