Skip to main content
POST
/
api
/
v1
/
gasless
/
permit
Queue EIP-2612 Permit transfer
curl --request POST \
  --url https://deposit-addresses.eco.com/api/v1/gasless/permit \
  --header 'Content-Type: application/json' \
  --data '
{
  "chainId": 2,
  "owner": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb",
  "depositAddress": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb",
  "value": "<string>",
  "deadline": "<string>",
  "signature": "<string>"
}
'
{
  "data": {
    "id": "<string>",
    "status": "PENDING",
    "permitTxHash": "<string>",
    "transferTxHash": "<string>",
    "intentHash": "<string>",
    "amount": "<string>",
    "error": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://eco.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Body

application/json
chainId
integer
required
Required range: x >= 1
owner
string
required

Token owner (signer)

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

"0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb"

depositAddress
string
required

Spender

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

"0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb"

value
string
required

Raw token units

deadline
string
required

Unix seconds

signature
string
required

EIP-2612 signature

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

Response

202 - application/json

Job queued

data
object