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
Read-only function callable by any account or contract. Returns the total number of score submissions ever recorded for `wallet` / `asset_pair`. Unlike `get_score_history` (which caps at `HISTORY_MAX_DEPTH`), this counter is never truncated, giving off-chain services a cheap O(1) signal to distinguish newly monitored wallets from those with a long history.
69
+
67
70
### `set_service(new_service: Address)`
68
71
Rotates the authorised off-chain scoring service address. Admin only.
|`submit_score(wallet, asset_pair, score, benford_flag, ml_flag, timestamp, confidence)`| LedgerLens service account |`service.require_auth()`|**`api`** — writes scores produced by `core`|
435
438
|`get_score(wallet, asset_pair)`| anyone | none (read-only) |**`api`**, **`dashboard`** (via api), and any third-party Soroban contract that wants to gate on LedgerLens risk |
0 commit comments