Manage daily spending limits for Gnosis Pay Safe accounts
The onchain daily limit feature allows partners to manage daily spending limits for Gnosis Pay Safe accounts.All transactions are gasless, enabling users to perform these operations completely free of charge.
curl -X GET \ /api/v1/accounts/onchain-daily-limit/transaction-data?onchainDailyLimit=${newLimit}
The transaction object contains the data that needs to be signed by the user’s wallet.
2
Sign and Submit Transaction
Safe Activation Required: This step only works when the Gnosis Pay Safe account has been fully activated and its modules are deployed. If you receive an error during submission, ensure that the Safe account activation process has been completed first.For more information about Safe account setup and module deployment, see the Safe Management API documentation.
The transaction data from Step 1 must be signed by the user’s wallet.
The wallet which is used to sign the transaction must be a signer of the Gnosis Pay Safe account.
The following example demonstrates the complete flow using the Gnosis Pay Account Kit library, which provides helper methods to simplify the transaction signing process: