Update the off-chain properties, such as description, of a contract that you've imported or deployed.
This method uses the contract's ID instead of the on-chain address.
Represents the input for updating contract off-chain properties.
The archive state of the contract. If true, the contract will not be visible in your dashboard.
The description for a contract.
The contract's ID.
The contract's name.
1const response = await client.updateContract({
2 id: 'c4d1da72-111e-4d52-bdbf-2e74a2d803d5',
3 archived: true,
4})
5console.log(response.data)