Skip to main content
Gets information about tokens owned by the SparkWallet.

Method Signature

async getTokenInfo(): Promise<TokenInfo[]>

Returns

tokens
TokenInfo[]
required
Array of token information objects

Example

const tokenInfo = await wallet.getTokenInfo();
console.log("Token Info:", tokenInfo);