client.guard_signer manages the server-side guard signer used to approve protected funding
account-control actions.
| Method | Purpose |
|---|---|
get_status(...) | Current guard wallet state |
create_wallet(...) | Provision a guard wallet |
sign_protected_action(action=..., ...) | One approval |
batch_sign_protected_actions(actions=..., ...) | Multiple approvals |
rotate_wallet(...) | Rotate guard material |
export_wallet(...) | Export operation result |
status = await client.guard_signer.get_status()
approval = await client.guard_signer.sign_protected_action(
action="add_allowed_external_destinations",
external_polychain_chain_id=6,
external_addresses=["0x..."],
)sign_protected_action returns a GuardApproval (or None) with signature, nonce_space, and deadline_unix; batch_sign_protected_actions returns one approval per action in approvals.
The exact action determines which of external_polychain_chain_id, external_addresses, internal_addresses, or whitelist_required is required. These are
authenticated control-plane mutations; do not retry them blindly and do not log approval
payloads or exported key material.
A guard approval does not submit an on-chain transaction. Feed it into the matching Chain helper flow and verify the receipt/final state.
Related Topics
Address book Saved destinations and whitelist views. API keys List, get, subscribe, and generate local API key material (no create on API-key SDKs). Auth Auth service helpers including nested profile access. Balances Read ledger balances and history, see reserved amounts, and stream live balance updates. Candles Read and stream public spot OHLCV candles via market data (candles alias). Catalog Spot and Zipper catalog hydration, symbol lookups, and quantity scales used by decimal order writes. Chain helpers On-chain Funding → Trading and Funding withdraw helpers. Chain analytics Chain analytics read APIs. Client configuration Constructor options, URLs, catalogs, wire format, and from_env behavior. Deposit Create and list per-account chain deposit addresses for funding your Polyester account. Errors Python SDK error types, MFA auth codes, realtime overflow, and retry guidance. Fees Read effective spot fee rates, reserve rates, scheduled changes, and the fee breakdown with client.fees. Heatmap L2 order book heatmap reads. Internal transfers Move trading balances between Polyester accounts without touching a chain. Lifecycle Deposit/withdraw lifecycle flows and subscribe. Market overview List and subscribe to per-market stats with optional snapshot-then-stream merge. Order book Depth snapshots and a stateful live order book that reconstructs the book for you. Orders Place, modify, cancel, batch, and stream spot orders, with optional attached take-profit, stop-loss, and trailing-stop risk. Policies Realtime API-key and subaccount-policy updates. Profile Profile identity reads and subscribe helpers. Public trades Public trade tape reads and subscribe via market data. Realtime Shared Centrifugo WebSocket client, subscription contract, handshake-before-return, and fail-closed overflow. Social verification Social verification APIs (reference-only). Subaccounts Subaccount reads, members, invites, activity. User trades List and stream your private spot fills (not the public tape). Transfers Transfer history reads. Triggers Create, manage, pause/resume, and stream standalone automations that place a child order when a market condition fires. Withdrawals Trading withdraw intents to funding or external chain destinations (signed payload). Zipper Deposit/withdraw config and related Zipper reads.