put_policy
Create or update the wallet's treasury policy (immutable versioning; PUT creates the next version). Auth required. Body must match /schemas/policy-v1.json — only version, wallet and chain_id are required; omitted fields take the platform defaults published in the manifest and are stored into the document, and the response lists them in defaulted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| policy | Yes | PolicyV1 document; {"version":1,"wallet":"0x…","chain_id":8453} is a complete one |