ledgerApi

suspend fun ledgerApi(request: LedgerApiRequest): JsonElement

Calls the JSON Ledger API through the wallet, which supplies the credentials. The wallet applies its own policy — expect 4100 for resources outside it rather than assuming full ledger access.