v1

latestOpenAPI 3.0.02026-07-267331140.7 KB
Account Management

Retrieve Transaction Data for changing Daily Limit

This endpoint is deprecated and will be removed in a future version. Please use GET /api/v1/accounts/daily-limit/transaction-data instead.

Returns the transaction data that needs to be signed by the user's wallet to set a new onchain daily limit. This endpoint is used as part of a three-step process:

  1. Call this endpoint to get the transaction data
  2. Sign the transaction data with the user's wallet
  3. Submit the signature to the PUT /api/v1/accounts/onchain-daily-limit endpoint

Note: The onchainDailyLimit must be an integer value between 1 and 8000.

get/api/v1/accounts/onchain-daily-limit/transaction-data

Query parameters

onchainDailyLimitstring required

The new daily spending limit to set (1-8000, must be an integer).

Response

Successfully retrieved transaction data for signing.

Example response

{
  "data": {
    "transaction": {
      "to": "0x3270bf32AB647e90eF94A026c70Aa1daaaDA2382",
      "data": "0xa8ec43eefe687fc128d1915040376d20ccb1bf40d838ddd82bf9b0ba3da683cc2a2516230000000000000000000000000000000000000000000000069d17119dc5a800000000000000000000000000000000000000000000000000069d17119dc5a800000000000000000000000000000000000000000000000000069d17119dc5a800000000000000000000000000000000000000000000000000000000000000015180000000000000000000000000000000000000000000000000000000006866fd60"
    }
  }
}