func GetPublishedOperationsFromMetadata(metadata document.Metadata) ([]*operation.AnchoredOperation, error) {
	methodMetadata, err := GetMethodMetadata(metadata)
	if err != nil {
		return nil, err
	}

	return getOperationsByKey(methodMetadata, document.PublishedOperationsProperty)
}
// GetPublishedOperationsFromMetadata will retrieve published operations from metadata.
GetPublishedOperationsFromMetadata will retrieve published operations from metadata.
// GetPublishedOperationsFromMetadata will retrieve published operations from metadata .
func GetPublishedOperationsFromMetadata(metadata document.Metadata) ([]*operation.AnchoredOperation, error) {
	methodMetadata, err := GetMethodMetadata(metadata)
	if err != nil {
		return nil, err
	}
	return getOperationsByKey(methodMetadata, document.PublishedOperationsProperty)
}
func GetPublishedOperationsFromMetadata ( metadata document . Metadata ) ( [ ] * operation . AnchoredOperation , error ) { methodMetadata , err := GetMethodMetadata ( metadata ) if err != nil { return nil , err } return getOperationsByKey ( methodMetadata , document . PublishedOperationsProperty ) }
GetPublishedOperationsFromMetadata will retrieve published operations from metadata.
GetPublishedOperationsFromMetadata will retrieve published operations from metadata .