@gala-chain/chaincode ∙ API
API > deleteChainObject
Function: deleteChainObject()
deleteChainObject(
ctx,data):Promise\<void>
Parameters
▪ ctx: GalaChainContext
▪ data: ChainObject
Returns
Description
Queue a deleteState call in the GalaChainStub using the composite key
of the provided ChainObject.
Remarks
See also GalaChainStub for details on caching and transactional writes
supported by this method.