Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,15 @@ declare global {
*/
userTokens(options?: UserTokensOptions): Promise<UserTokensResult>;

/**
* Retrieves token balance from the user's active wallet.
*
* @param id - The unique identifier (processId) of the token.
* @returns A Promise resolving to the token balance as a string.
* @throws An error if the balance cannot be retrieved.
*/
tokenBalance(id: string): Promise<string>;

/**
* Checks if a token has been added to ArConnect
*
Expand Down