For the complete documentation index, see llms.txt. This page is also available as Markdown.

Proofless Deposit

Build a deposit transaction without a ZK proof

post

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
x-hinkal-request-signaturestringOptional

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.

Body
sessionIdstring · uuidRequired
noncestring · uuidRequired
signaturestringOptional

EIP-712 or ed25519 signature (EIP-712 mode only)

chainIdintegerRequired
tokenAddressesstring[]Required
amountsstring[]Required
Responses
200

Unsigned deposit transaction

application/json
post/proofless-deposit
POST /proofless-deposit HTTP/1.1
Host: api.hinkal.io
Content-Type: application/json
Accept: */*
Content-Length: 198

{
  "sessionId": "ffd74231-0672-48c7-bd82-9f72a803578b",
  "nonce": "222c7435-cec0-4f6a-b508-3e8e10a1b781",
  "chainId": 10,
  "tokenAddresses": [
    "0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85"
  ],
  "amounts": [
    "1000000"
  ]
}
{
  "success": true,
  "txData": {
    "type": 2,
    "to": "0x8242dC4a85e1B5Ca5C54F1B37e1b4Ba649e19AB5",
    "gasLimit": "180000",
    "maxFeePerGas": "2000000000",
    "maxPriorityFeePerGas": "1000000000",
    "data": "0xa9059cbb000000000000000000000000742d35cc6634c0532925a3b844bc454e4438f44e00000000000000000000000000000000000000000000000000000000000f4240",
    "value": "0",
    "chainId": 10
  },
  "nonce": "222c7435-cec0-4f6a-b508-3e8e10a1b781"
}

Last updated