cURL
curl --request GET \ --url https://developer-api.squads.so/api/v1/smart-accounts/{smart_account_address}/spending-limits/{spending_limit_address} \ --header 'Authorization: Bearer <token>' \ --header 'x-squads-network: <x-squads-network>'
{ "spending_limit": { "address": "<string>", "token_address": "<string>", "amount": "<string>", "remaining_amount": "<string>", "last_reset": 123, "period": "ONE_TIME", "spending_limit_signers": [ "<string>" ], "destinations": [ "<string>" ], "expiration": 123 } }
Get details of a specific spending limit
UUID-based API key provided by Squads
Specifies the network for the API request
mainnet
devnet
The address of the smart account
The address of the spending limit
Spending limit retrieved successfully
Show child attributes
Was this page helpful?