Skip to content

@gala-chain/chaincodeAPI


API > createValidChainObject

Function: createValidChainObject()

createValidChainObject\<T>(constructor, plain): Promise\<T>

Type parameters

T extends ChainObject | RangedChainObject

Parameters

constructor: ClassConstructor\<T>

plain: NonFunctionProperties\<T>

Source

chaincode/src/types/createValidChainObject.ts:21