parseAllPieceMetadata
parseAllPieceMetadata(
data):OutputType
Defined in: packages/synapse-core/src/warm-storage/get-all-piece-metadata.ts:137
Parse the contract output into a MetadataObject
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
data | readonly [readonly string[], readonly string[]] | The contract output from the getAllPieceMetadata function getAllPieceMetadata.ContractOutputType |
Returns
Section titled “Returns”The metadata formatted as a MetadataObject getAllPieceMetadata.OutputType