Home > @3rdweb/sdk > SplitsModule > distributeToken
Distribute Funds
Signature:
distributeToken(tokenAddress: string): Promise<void>;
Parameter | Type | Description |
---|---|---|
tokenAddress | string |
Returns:
Promise<void>
Distribute funds held by the contract in the native currency to all recipients.
// The address of the currency to distribute funds
const tokenAddress = "0x..."
await module.distributeToken(tokenAddress);