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

Description

Adds additional funds to an already active agent. The agent will include the new funds in its optimization strategy.

Path Parameters

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

Query Parameters

tx_hash
string
required
Transaction hash of the deposit

Response

Returns 201 Created on success.
curl -X POST "https://partners-backend-1038109371738.europe-west1.run.app/api/v1/8453/wallets/0x...:top-up?tx_hash=0xabc123..." \
  -H "X-Partner-API-Key: your-api-key" \
  -H "X-Partner-Name: your-partner-name"
{
  "message": "Top-up process started"
}