{"ok":true,"type":"ergo.agent_economy.wallet_agent_policy_check_endpoint.v0","policy_profile_type":"ergo.agent_economy.wallet_agent_policy_profile.v0","schema":"https://www.ergoblockchain.org/agent-economy/wallet-agent-policy.schema.v0.json","request_schema":"https://www.ergoblockchain.org/agent-economy/wallet-agent-policy-check.schema.v0.json","template":"https://www.ergoblockchain.org/agent-economy/wallet-agent-policy.profile.template.json","check_api":"https://www.ergoblockchain.org/api/agent-economy/wallet-agent/policy-check","methods":["GET","POST"],"post_body":{"profile":"WalletAgentPolicyProfile","proposed_action":"WalletAgentProposedAction"},"strict_contract":["monetary fields must be decimal strings, not floats or scientific notation","unknown profile or proposed-action fields fail closed","unknown allowed_actions fail closed","task_hash must be canonical hex with minimum length","receipt_retention must be required with a known v0 mode","mainnet-disabled profiles cannot authorize signing"],"example_request":{"profile":{"type":"ergo.agent_economy.wallet_agent_policy_profile.v0","version":"v0","agent_id":"local-sage-agent-demo","network":"testnet","daily_spend_cap":"0.250000000","per_action_spend_cap":"0.050000000","max_fee":"0.002000000","allowed_recipients":["testnet_recipient_address_or_payment_endpoint"],"allowed_reserves":["testnet_reserve_box_id_or_alias"],"allowed_actions":["quote","simulate","sign_specific_transaction","broadcast_simulated_transaction","verify_note","fetch_receipt"],"requires_human_confirmation_above":"0.010000000","expiry_height_limit":720,"receipt_retention":{"required":true,"mode":"local_plus_public_url"}},"proposed_action":{"network":"testnet","action":"sign_specific_transaction","amount":"0.005000000","spent_today":"0.000000000","fee":"0.001000000","recipient":"testnet_recipient_address_or_payment_endpoint","reserve":"testnet_reserve_box_id_or_alias","expiry_height_delta":120,"task_hash":"9c5e7a16f4e8c2d2a8b74a0d8c2e91aa","human_confirmed":false,"receipt_expected":true}},"example_verdict":{"type":"ergo.agent_economy.wallet_agent_policy_verdict.v0","ok":true,"allowed":true,"profile_id":"local-sage-agent-demo","checked_at":"2026-05-22T00:00:00.000Z","summary":"policy_allows_exact_testnet_action","reasons":[],"warnings":[],"normalized_action":{"network":"testnet","action":"sign_specific_transaction","amount":0.005,"spent_today":0,"fee":0.001,"recipient":"testnet_recipient_address_or_payment_endpoint","reserve":"testnet_reserve_box_id_or_alias","expiry_height_delta":120,"task_hash":"9c5e7a16f4e8c2d2a8b74a0d8c2e91aa","human_confirmed":false,"receipt_expected":true},"policy_contract":{"schema":"https://www.ergoblockchain.org/agent-economy/wallet-agent-policy.schema.v0.json","request_schema":"https://www.ergoblockchain.org/agent-economy/wallet-agent-policy-check.schema.v0.json","template":"https://www.ergoblockchain.org/agent-economy/wallet-agent-policy.profile.template.json","check_api":"https://www.ergoblockchain.org/api/agent-economy/wallet-agent/policy-check"}},"signing_boundary":"This endpoint evaluates policy only. It never signs, broadcasts, stores private keys, or grants wallet authority."}