Set onchain daily limit
PUT/api/v1/accounts/onchain-daily-limit
Sets a new onchain daily spending limit for the authenticated user's Safe account. This endpoint requires a valid signature from the user's wallet to authorize the change.
The signature should be generated by signing the transaction data obtained from
the /api/v1/accounts/onchain-daily-limit/transaction-data
endpoint.
The limit update is processed through a delay relay mechanism that executes after 3 minutes.
Note: The onchainDailyLimit must be an integer value between 1 and 5000.
Request
Responses
- 200
- 400
- 401
- 404
- 422
- 500
Successfully submitted the daily limit update request.
Bad request - invalid signature.
Unauthorized - invalid or missing authentication token.
Safe account or token not found for the user.
Unprocessable Entity - validation errors in request body.
Internal server error.