v1

latestOpenAPI 3.0.02026-07-267331140.7 KB
Account Management

Set new daily spending limit

Sets a new daily spending limit for the authenticated user's Safe account.

The signature should be generated by signing the EIP-712 typed data obtained from the /api/v1/accounts/daily-limit/transaction-data endpoint. If using a smart wallet, the smartWalletAddress is required for ERC1271 signatures.

The limit update is processed through a delay relay mechanism that executes after 3 minutes.

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

put/api/v1/accounts/daily-limit

Request body

newLimitinteger required

The new daily spending limit to set (must be an integer).

signaturestring required

The EIP-712 signature authorizing this limit change.

smartWalletAddressstring

Optional. If using a smart account, the address of the smart wallet to use for the limit change.

Example request

{
  "newLimit": 2500,
  "signature": "0x1234567890abcdef...",
  "message": {
    "salt": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef",
    "data": "0xa8ec43eefe687fc128d1915040376d20ccb1bf40d838ddd82bf9b0ba3da683cc2a2516230000000000000000000000000000000000000000000000069d17119dc5a800000000000000000000000000000000000000000000000000069d17119dc5a800000000000000000000000000000000000000000000000000069d17119dc5a800000000000000000000000000000000000000000000000000000000000000015180000000000000000000000000000000000000000000000000000000006866fd60"
  },
  "smartWalletAddress": "0x1234567890abcdef1234567890abcdef12345678"
}

Response

Successfully submitted the daily limit update request.

dataobject required

The created delayed transaction details.