Skip to Content
API referenceOrbit SolanaSrcComponentsgetSolanaAddressAvatar()

@tuwaio/orbit-monorepo


getSolanaAddressAvatar()

getSolanaAddressAvatar(name): Promise<string>

Defined in: packages/orbit-solana/src/utils/getSolanaAddressAvatar.ts:18 

Searches and returns the avatar URL (icon) for a given Solana account name (label) among connected wallets. Includes caching for performance on repeated requests.

Parameters

name

string

The account name (label) to look up.

Returns

Promise<string>

A promise that resolves to the account’s icon URL, or the original name string if the icon is not found.

Last updated on