Update Account Balance
update_account_balanceSet an account's balance to a new value. Persists the balance and creates a single signed ADJUSTMENT transaction for the difference (no-op when the value is unchanged). Rejects exchange-managed accounts. Requires confirmation: true to execute.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| balance | Yes | The new balance the account should reflect | |
| accountId | Yes | Account ID to update | |
| confirmation | Yes | Must be true to execute the mutation | |
| idempotencyKey | No | Optional idempotency key — calls with the same key (per-user, within 24h) return the cached response without re-executing. |