Skip to content

API ReferenceTokens and balancesInterface

GetTokenMetadataParams

Properties

address

address: `0x${string}`;

Token address to resolve a logo for. Staging fake tokens are mapped to their mainnet counterparts before lookup (see buildTokenLogoUrl).


tokenAliases?

optional tokenAliases?: Readonly<Record<`0x${string}`, `0x${string}`>>;

Environment-local -> canonical mainnet token aliases, i.e. AnvilSdkProfile.tokenAliases. Callers going through an AnvilSDK instance get the configured profile’s map injected automatically; only standalone callers need to pass it.