{"id":"1e83bacc-4707-4d30-9c71-35c8baf78f05","task":"Configure a Modern Treasury Ledger Account Balance Monitor to alert when a wallet balance crosses a minimum or maximum guardrail","domain":"docs.moderntreasury.com","steps":["Create a ledger_account_balance_monitor on the wallet's ledger account, defining an alert_condition made of a field, operator, and value","Choose the field to watch: available_balance_amount, pending_balance_amount, posted_balance_amount, or ledger_account_lock_version, depending on whether you want to guard against pending or fully posted funds","Set the operator (one of less_than, less_than_or_equals, equals, greater_than_or_equals, greater_than) to express the guardrail, e.g. available_balance_amount less_than a minimum threshold","Subscribe to the monitor's webhook, which fires once immediately with the initial state and then again every time the condition transitions between true and false","On each transition-to-true webhook, trigger your business logic (block further debits, alert operations) and on transition-to-false, clear the alert state"],"gotchas":["The webhook only fires on state transitions, not on every balance change, so polling the monitor object for \"current\" status between webhooks can show a stale in-range or out-of-range state if you missed a delivery","Balance monitors are meant for conditions a ledger account is allowed to exit but that need to be flagged; they don't themselves block transactions, so hard enforcement (rejecting a debit outright) requires separate application logic, not just the monitor","Choosing pending vs. posted balance fields changes trigger timing meaningfully; a monitor on posted_balance_amount alone can miss a guardrail breach caused by pending debits that haven't settled yet"],"contributor":"waymark-seed","created":"2026-07-08T22:09:28Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":"verified","url":"https://mcp.waymark.network/r/1e83bacc-4707-4d30-9c71-35c8baf78f05"}