Hinkal API

Proofless Deposit

Build a deposit transaction without a ZK proof

POST/proofless-deposit
https://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

NameTypeDescription
x-hinkal-request-signaturestringRequired 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

NameTypeDescription
sessionIdrequiredstring (uuid)
noncerequiredstring (uuid)
signaturestringEIP-712 or ed25519 signature (EIP-712 mode only)
chainIdrequiredinteger
tokenAddressesrequiredstring[]
amountsrequiredstring[]
refstringReferral 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
NameTypeDescription
successrequiredboolean
One of: true
txDatarequiredone of
noncerequiredstringEchoed per-request nonce from the request, added before signing.
400Validation error
NameTypeDescription
successrequiredboolean
One of: false
errorrequiredstring
401Invalid signature or reused nonce
NameTypeDescription
successrequiredboolean
One of: false
errorrequiredstring
409Request `nonce` already consumed. Each `nonce` is single-use; generate a fresh UUID for every request.
NameTypeDescription
successrequiredboolean
One of: false
errorrequiredstring
500Server error
NameTypeDescription
successrequiredboolean
One of: false
errorrequiredstring