SDK Explorer

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.

Parameters
input
object
Required

Represents the input for updating contract off-chain properties.

archived
boolean

The archive state of the contract. If true, the contract will not be visible in your dashboard.

description
string

The description for a contract.

id
string
Required

The contract's ID.

name
string

The contract's name.

Responses
Example
1const response = await client.updateContract({
2  id: 'c4d1da72-111e-4d52-bdbf-2e74a2d803d5',
3  archived: true,
4})
5console.log(response.data)
Did this page help you?
© 2023-2025 Circle Technology Services, LLC. All rights reserved.