typescript-sdk

Home > @3rdweb/sdk > SplitsModule > balanceOf

SplitsModule.balanceOf() method

Get Funds

Signature:

balanceOf(address: string): Promise<BigNumber>;

Parameters

Parameter Type Description
address string  

Returns:

Promise<BigNumber>

Remarks

Get the amount of funds in the native currency held by the module thats owed to a specific recipient.

Example

// The address to check the funds of
const address = "";
const funds = await module.balanceOf(address);
console.log(funds);