Adds the ledger to the cache (or return the cached ledger, if cache
is true).
The ledger to add.
If the ledger should be cached (or cached ledger patched), true
by default.
The resolved ledger.
Fetch the ledger by its id in the cache or from the Pi Network Stellar API.
The ledger id to fetch.
If the ledger should be cached (or cached ledger patched), true
by default.
If the ledger should be fetched in the cache, true
by default.
The fetched ledger.
Resolves the data by its key from the cache.
The data's key (id, etc.).
The cached data or undefined
if not found.
Generated using TypeDoc
The cache of the manager.