The daily spending 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.Documentation Index
Fetch the complete documentation index at: https://docs.gnosispay.com/llms.txt
Use this file to discover all available pages before exploring further.
Overview
The daily spending limit update process involves the following steps:- Fetch EIP-712 Typed Data - Get the EIP-712 typed data for wallet signing
- Sign and Submit - Sign the EIP-712 data and submit the update
- Monitor Update - Wait for the delay relay to process the change and check the new limit
Daily Limit Update Process
Fetch EIP-712 Typed Data for Signing
Get the EIP-712 typed data that needs to be signed by the user’s wallet:The response contains EIP-712 typed data with
cURL
domain, types, primaryType, and message fields that need to be signed by the user’s wallet using the EIP-712 standard.Sign and Submit EIP-712 Data
The EIP-712 typed data from Step 1 must be signed by the user’s wallet using the EIP-712 signature standard.Once signed, submit the transaction to update the daily limit:
Wallet Requirements:
- The wallet must be a signer of the Gnosis Pay Safe account
- For EOA wallets: Standard EIP-712 signature is used
- For smart contract wallets: ERC-1271 signature verification is used, and you must include the
smartWalletAddressfield in the request body
cURL
Monitor the Transaction Execution
The daily limit change is processed through a delay relay mechanism that executes after 3 minutes.You can monitor the transaction status using the delay-relay monitoring endpoint
or by checking your Safe’s transaction history.Additionally, you can also poll the following endpoint to check when the new limit becomes active:
cURL