Skip to main content
POST
https://partners-backend-1038109371738.europe-west1.run.app
/
api
/
v1
/
{chain_id}
/
wallets
/
{wallet}
:deactivate
curl -X POST "https://partners-backend-1038109371738.europe-west1.run.app/api/v1/8453/wallets/0x...:deactivate?transfer=true" \
  -H "X-Partner-API-Key: your-api-key" \
  -H "X-Partner-Name: your-partner-name"
{
  "message": "Wallet deactivation triggered"
}
SDK Alternative: Use giza.agent.deactivate() for a simpler TypeScript interface. See SDK docs

Description

Deactivates the agent for a specific wallet. This stops automatic rebalancing and optionally transfers remaining funds to the origin wallet.

Path Parameters

chain_id
integer
required
The blockchain chain ID
wallet
string
required
The wallet address

Query Parameters

transfer
boolean
default:"false"
Whether to transfer remaining balance to the origin wallet

Response

Returns 201 Created on success.
curl -X POST "https://partners-backend-1038109371738.europe-west1.run.app/api/v1/8453/wallets/0x...:deactivate?transfer=true" \
  -H "X-Partner-API-Key: your-api-key" \
  -H "X-Partner-Name: your-partner-name"
{
  "message": "Wallet deactivation triggered"
}