Create a new spending limit
Spending Limits
Create Spending Limit
Create a new spending limit for a Smart Account
POST
Create a new spending limit
Create a new spending limit that allows controlled token spending from your Smart Account.Documentation Index
Fetch the complete documentation index at: https://developers.squads.so/llms.txt
Use this file to discover all available pages before exploring further.
Key Concepts
- Limit Configuration: Set maximum amount and reset period
- Token Specification: Define which token the limit applies to
- Transaction Signing: Requires approval from authorized signers
Important Notes
- Amount must be greater than zero
- Period can be DAY or WEEK
- Transaction must be signed by enough signers to meet threshold
- The same token can have multiple spending limits with different periods
- For native SOL, set
token_addressto11111111111111111111111111111111
Authorizations
UUID-based API key provided by Squads
Headers
Specifies the network for the API request
Available options:
mainnet, devnet Path Parameters
The address of the smart account
Body
application/json