Canceling contracts


Read about How to cancel all contracts from the playground


from the graphql service execute the following query.

query MyQuery {

  nodeContracts(where: {twinId_eq: TWIN_ID, state_eq: Created}) {

replace TWIN_ID with your twin id. the information should be available on the Dashboard

then from polkadot UI, add the tfchain endpoint to development

go to extrinsics, choose the smartContract module and cancelContract extrinsic and use the IDs from graphql to execute the cancelation

Cancelling Contracts Using `grid3_client_ts

In order to use the grid3_client_ts module, it is essential to first clone our official mono-repo containing the module and then navigate to it. If you are looking for a quick and efficient way to cancel contracts, we offer a code-based solution that can be found here.

To make the most of grid_client, we highly recommend following our Grid-Client guide for a comprehensive overview of the many advanced capabilities offered by this powerful tool. With features like contract creation, modification, and retrieval, grid_client provides an intuitive and easy-to-use solution for managing your contracts effectively.