Static
getRetrieves the denom trace data for a given denom and chain. It initializes the cache if not already initialized and caches the fetched data.
The denomination string to fetch the trace for.
The chain data object (CosmosChainData).
A Promise that resolves to the denom trace data (DenomTraceData), or throws an error if the trace cannot be fetched.
Static
initializeInitializes the cache for storing denom trace data.
An implementation of IAsyncStorage
interface (IAsyncStorage).
Static
is
The
DenomFetcher
class provides methods to fetch and cache denom trace data. It works with IBC denom traces, caching results for efficiency.