You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Drop intra-doc links to private `FFIManagedCoreAccountInner` variants on
`keys_account()` so `cargo doc -D warnings` (and the Documentation CI job)
passes; the enum is internal and doesn't need to appear in public rustdoc.
- Regenerate `key-wallet-ffi/FFI_API.md` to pick up the updated descriptions
on `managed_core_account_get_balance` / `_get_utxo_count` (the verify-ffi
pre-commit hook).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Get the balance of a managed account # Safety - `account` must be a valid pointer to an FFIManagedCoreAccount instance - `balance_out` must be a valid pointer to an FFIBalance structure
3098
+
Get the balance of a managed account. Returns `false` (and leaves `balance_out` untouched) when the handle wraps a keys-only account (identity / asset-lock / provider) — those don't track per-account balances. Use [`managed_core_account_get_account_type`] to disambiguate, or only call this for funds-bearing accounts. # Safety - `account` must be a valid pointer to an FFIManagedCoreAccount instance - `balance_out` must be a valid pointer to an FFIBalance structure
3099
3099
3100
3100
**Safety:**
3101
3101
- `account` must be a valid pointer to an FFIManagedCoreAccount instance - `balance_out` must be a valid pointer to an FFIBalance structure
@@ -3207,7 +3207,7 @@ managed_core_account_get_utxo_count(account: *const FFIManagedCoreAccount,) -> c
3207
3207
```
3208
3208
3209
3209
**Description:**
3210
-
Get the number of UTXOs in a managed account # Safety - `account` must be a valid pointer to an FFIManagedCoreAccount instance
3210
+
Get the number of UTXOs in a managed account. Always returns 0 for keys-only accounts (identity / asset-lock / provider), which do not track per-account UTXOs. # Safety - `account` must be a valid pointer to an FFIManagedCoreAccount instance
3211
3211
3212
3212
**Safety:**
3213
3213
- `account` must be a valid pointer to an FFIManagedCoreAccount instance
0 commit comments