Processing

Submit a gasless deposit

Changed on

Starts a deposit using a signed token authorization. Experimental.

post/deposits/permit

Request

Headers

x-api-keystring

API key for authentication

Example:your-api-key

Request body

OR
OR

Example request

{
  "account": "0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91",
  "sourceChain": "eip155:8453",
  "token": "0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91",
  "amount": "1000000000000000000",
  "owner": "0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91",
  "signature": "0x1234abcd",
  "nonce": "0x000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
  "validAfter": "1000000000000000000",
  "validBefore": "1000000000000000000"
}

Response

Deposit accepted and processing started

depositIdstring required
txHashstring required

Hex-encoded string (0x followed by hex characters)

status'processing' required

Example response

{
  "txHash": "0x1234abcd"
}

Changes

    • info

      the endpoint scheme security internalProjectBearer was added to the API

    • info

      the endpoint scheme security tenantApiKey was added to the API

    • info

      the header request parameter x-api-key became optional

    • info

      added the non-success response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status