Home > @3rdweb/sdk > ITransferable > setRestrictedTransfer
Setter for transfer restriction.
Signature:
setRestrictedTransfer(restrict: boolean): Promise<TransactionReceipt>;
Parameter | Type | Description |
---|---|---|
restrict | boolean | Boolean indicating whether to restrict transfer. (default: true) |
Returns:
Promise<TransactionReceipt>