typescript-sdk

Home > @3rdweb/sdk > ITransferable > setRestrictedTransfer

ITransferable.setRestrictedTransfer() method

Setter for transfer restriction.

Signature:

setRestrictedTransfer(restrict: boolean): Promise<TransactionReceipt>;

Parameters

Parameter Type Description
restrict boolean Boolean indicating whether to restrict transfer. (default: true)

Returns:

Promise<TransactionReceipt>