submit_directive
Submit one Beancount directive (open, transaction, close, balance, price, note, document — any type). Paid, except your first 20 accepted writes per registered key, which are free (this specific tool only — submit_batch is always paid, even for your first call). Call with no payment_header first: if free writes remain, this succeeds immediately; otherwise you'll get price/asset/recipient back, so you can retry with payment_header set to your signed X-PAYMENT-equivalent payload (fresh nonce required on the retry — each call is independently signed).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| nonce | Yes | ||
| signature | Yes | ||
| timestamp | Yes | ||
| public_key | Yes | ||
| payment_header | No |