Split.withdraw() method
Withdraw Funds
Example
// the wallet address that wants to withdraw their funds
const walletAddress = "{{wallet_address}}";
await contract.withdraw(walletAddress);
Signature:
withdraw(walletAddress: string): Promise<TransactionResult>;
Parameters
Parameter | Type | Description |
---|---|---|
walletAddress | string | The address to distributes the amount to |
Returns:
Promise<TransactionResult>
Remarks
Triggers a transfer to account of the amount of native currency they are owed.