typescript-sdk

Home > @3rdweb/sdk > ISplitsModule > balanceOfToken

ISplitsModule.balanceOfToken() method

Returns the amount of royalty available for a recipient to withdraw in the native currency in a specific currency.

Signature:

balanceOfToken(walletAddress: string, tokenAddress: string): Promise<CurrencyValue>;

Parameters

Parameter Type Description
walletAddress string The address of the recipient to check the balance of.
tokenAddress string The address of the currency to check the balance in.

Returns:

Promise<CurrencyValue>