Prepare a gasless permit deposit
Experimental. Builds the EIP-712 token-authorization payload the owner signs to authorize their deposit smart account to pull amount of token from their wallet — no on-chain transfer needed. Selects ERC-3009, ERC-2612, then Permit2; validates the route, session coverage, domain, balance, and allowance before the user is asked to sign. The server chooses replay and deadline fields; submit the signature with the same fields via POST /deposits/permit. EVM source chains only; cross-chain routes only (v1).
Headers
API key for authentication (omit when sending Authorization)
API key for authentication (omit when sending Authorization)
Bearer platform token (e.g. forwarded by user-service). Takes precedence over x-api-key when both are present.
Bearer platform token (e.g. forwarded by user-service). Takes precedence over x-api-key when both are present.
Request body
Example request
{
"account": "0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91",
"sourceChain": "eip155:8453",
"token": "0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91",
"amount": "1000000000000000000",
"owner": "0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91",
"kind": "auto"
}Response
Typed data to sign, with the server-chosen nonce and deadline
Example response
{
"authorization": {
"nonce": "0x000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
"validAfter": "1000000000000000000",
"validBefore": "1000000000000000000"
}
}