Skip to Content
KryptWarden Developers
Guides

Approve and control

Answer holds, watch spending, and stop everything when you need to.

Approve or deny holds

When an agent asks for more than its auto-approve limit, the payment appears in the dashboard under Approvals, with the agent, seller, amount and a countdown.

  • Approve signs approve_hold(hold_id). The agent then has at least 5 minutes to complete that exact payment.
  • Deny signs deny_hold(hold_id). The reserved amount goes back into the agent's budget immediately.
  • Do nothing and the hold expires at the deadline. The payment doesn't happen.

Only the wallet's owner can approve or deny. If you're connected with a different account, the dashboard tells you which account owns the wallet.

You can also call the contract directly:

stellar contract invoke --network testnet --source owner \
  --id C...wallet \
  -- approve_hold --hold_id 12

Watch spending

PageWhat it shows
OverviewBalance, unreserved balance, spend per agent today, pending approvals, and the on-chain reconciliation check
Spend LedgerEvery settled payment and every refused attempt, with reason and transaction link. Filter by agent, seller or status
AgentsEach agent's policy, today's spend and status

The same data is available from the Spend API.

The kill switch

Wallet & Kill Switch → Sign pause calls the wallet's pause(). While paused:

  • every payment and new hold is refused with WALLET_PAUSED,
  • the owner can still deny holds and withdraw.

Sign unpause to resume. To stop just one agent, pause or revoke it from Agents instead.

Withdraw

Wallet & Kill Switch → Withdraw sends unreserved USDC back to any address you choose. Money reserved by open holds stays put until those holds settle, are denied or expire.

On this page