Skip to main content

cnft.cancelContract(CancelContract)

Cancel a Contract NFT draft. This sends a transaction from the contract controller and removes the draft from storage.

CancelContract Type Parameters

Returns

Usage

TypeScript

JavaScript

Example outputs

Once cancelled, getDraft for the same contractId reverts with Not found.