rwanft.setMachineNftBlockState(SetMachineNftBlockState)
Set the block state of a Machine Issuer address or a Machine NFT contract address in the PeaqRwaNft contract. This sends a transaction signed by a Machine Regulator.
SetMachineNftBlockState Type Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| machineRegulatorSigner | Signer | Required | Machine Regulator signer authorized to update the block state. Must be connected to a provider. |
| issuerOrContractNft | string | Required | EOA address of a Machine Issuer or Machine NFT contract address. |
| blocked | boolean | Required | true to block, false to unblock. |
Returns
| Field | Type | Description |
|---|---|---|
| status | updated | Status of the operation. |
| peaqRwaNft | string | PeaqRwaNft contract address. |
| target | string | The address whose block state was updated. |
| blocked | boolean | The resulting block state. |
| updatedBy | string | Machine Regulator address that submitted the transaction. |
| receipt | TransactionReceipt | Transaction receipt of the update operation. |

