@gala-chain/chaincode ∙ API
API > createValidChainObject
Function: createValidChainObject()
createValidChainObject\<
T>(constructor,plain):Promise\<T>
Type parameters
▪ T extends ChainObject | RangedChainObject
Parameters
▪ constructor: ClassConstructor\<T>
▪ plain: NonFunctionProperties\<T>