meter_open
Open a usage/budget meter recorded in SaSame's append-only ledger. Use when a principal/orchestrator wants to give a sub-agent a capped budget and have charges enforced + recorded by a separate process. SaSame holds NO funds and is NOT a payment processor: it timestamps and ed25519-signs the envelope with its published public key, so the accounting is offline-verifiable. Returns a meter_id + a signed receipt (verify the signature with trust_pubkey).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| memo | No | Optional note | |
| unit | No | Unit label, e.g. 'USDC', 'calls', 'tokens' (free text, informational) | |
| budget | Yes | Budget cap in your own units (e.g. USDC, tokens, calls). Charges beyond this are rejected. | |
| owner_label | No | Who owns this budget (self-claimed label, unverified) |