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;
}
Type declaration
Optional
abbreviation?: string
Optional
chainIds?: string[]
Optional
getAddressExplorerUrl?: ((address) => string)
- (address): string
Returns string
Optional
getCollectionExplorerUrl?: ((collectionId) => string)
- (collectionId): string
Returns string
Optional
getNameForAddress?: ((address) => Promise<string | undefined>)
- (address): Promise<string | undefined>
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
Defines metadata details about a supported chain.