Type alias SupportedChainMetadata

SupportedChainMetadata: {
    abbreviation?: string;
    chainIds?: string[];
    getAddressExplorerUrl?: ((address) => string);
    getCollectionExplorerUrl?: ((collectionId) => string);
    getNameForAddress?: ((address) => Promise<string | undefined>);
    getTokenExplorerUrl?: ((collectionId, tokenId) => string);
    logo?: string;
    name?: string;
}

Defines metadata details about a supported chain.

Type declaration

  • Optional abbreviation?: string
  • Optional chainIds?: string[]
  • Optional getAddressExplorerUrl?: ((address) => string)
      • (address): string
      • Parameters

        • address: string

        Returns string

  • Optional getCollectionExplorerUrl?: ((collectionId) => string)
      • (collectionId): string
      • Parameters

        • collectionId: string

        Returns string

  • Optional getNameForAddress?: ((address) => Promise<string | undefined>)
      • (address): Promise<string | undefined>
      • Parameters

        • address: string

        Returns Promise<string | undefined>

  • Optional getTokenExplorerUrl?: ((collectionId, tokenId) => string)
      • (collectionId, tokenId): string
      • Parameters

        • collectionId: string
        • tokenId: string

        Returns string

  • Optional logo?: string
  • Optional name?: string

Generated using TypeDoc