Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AssetService

AssetService fetches correct icons & aliases related to eth addresses from trusted asset sources

Hierarchy

  • Service
    • AssetService

Index

Constructors

Properties

aliases: Map<string, Alias>
alts: string[] = ...
chainId: 1 | 10 | 250 | 1337 | 42161
ctx: Context
events: Emittery<Record<string, unknown>, Record<string, unknown> & OmnipresentEventData, never>
ready: Promise<void>
supported: Map<string, string>

Methods

  • alias<T>(address: T): undefined | Alias
  • alias<T>(addresses: T[]): AliasMap<T>
  • alias<T>(address: T | T[]): undefined | Alias | AliasMap<T>
  • initialize(): Promise<void>
  • makeSerializedState(): Promise<string>

Generated using TypeDoc