cnft.setBlocked(SetBlocked)
Set a Contract NFT contract to blocked or unblocked. This sends a transaction from the Contract NFT owner.
SetBlocked Type Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| contractNftSigner | Signer | Required | Contract NFT owner signer authorized to set blocked state. Must be connected to a provider. |
| contractNft | string | Required | Contract NFT contract address. |
| blocked | boolean | Required | true to block, false to unblock. |
Returns
| Field | Type | Description |
|---|---|---|
| status | set | Status of the operation. |
| contractNft | string | Contract NFT contract address. |
| blocked | boolean | The resulting block state. |
| setBy | string | Address that submitted the transaction. |
| receipt | TransactionReceipt | Transaction receipt of the update operation. |

