typescript-sdk

Home > @3rdweb/sdk > NFTModule > setDefaultSaleRecipient

NFTModule.setDefaultSaleRecipient() method

Set the default primary sales recipient for this contract

Signature:

setDefaultSaleRecipient(recipient: string): Promise<TransactionReceipt>;

Parameters

Parameter Type Description
recipient string the wallet that should receive the proceeds from primary sales

Returns:

Promise<TransactionReceipt>