Skip to main content

get_account_ledger

Function get_account_ledger 

Source
pub(crate) async fn get_account_ledger(
    __arg0: State<AppState>,
    query: Result<Query<LedgerQuery>, QueryRejection>,
) -> Response
Expand description

GET /xrpc/bot.did.getAccountLedger

The bookkeeping for one agent, which is the one read here that deliberately answers about accounts that no longer exist. A 404 means this deployment never minted that DID at all — not that the agent has been deprovisioned, which is an answer with a body.

Credential::Disclosure: open by default, this deployment’s own audit trail for one account — see auth::Disclosure.