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

Note: Once cancelled, getDraft for the same contractId will revert with Not found.