Skip to main content
POST
Prepare a gasless permit deposit

Headers

x-api-key
string

API key for authentication (omit when sending Authorization)

Example:

"your-api-key"

authorization
string

Bearer platform token (e.g. forwarded by user-service). Takes precedence over x-api-key when both are present.

Example:

"Bearer eyJhbGciOi..."

Body

application/json
account
string
required

Ethereum address (0x followed by 40 hex characters)

Pattern: ^0x[a-fA-F0-9]{40}$
Example:

"0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91"

sourceChain
string
required

CAIP-2 chain identifier (e.g. "eip155:8453")

Pattern: ^[a-z0-9]+:[a-zA-Z0-9]+$
Example:

"eip155:8453"

token
string
required

Ethereum address (0x followed by 40 hex characters)

Pattern: ^0x[a-fA-F0-9]{40}$
Example:

"0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91"

amount
string
required

Numeric string representing a bigint value

Pattern: ^\d+$
Example:

"1000000000000000000"

owner
string
required

Ethereum address (0x followed by 40 hex characters)

Pattern: ^0x[a-fA-F0-9]{40}$
Example:

"0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91"

kind
enum<string>

Authorization scheme preference. Auto selects ERC-3009, then ERC-2612, then Permit2.

Available options:
auto,
erc3009,
erc2612,
permit2
Example:

"auto"

Response

Typed data to sign, with the server-chosen nonce and deadline

available
enum<boolean>
required
Available options:
true
authorization
object
required