Guides

Module Metadata

Introduction

Modules can have more information about them in the form of metadata (Schema is documented in the @lens-protocol/metadata package and its JSON schema is here. To query for a module's metadata, you can use the following query:

Query: moduleMetadata

Retrieve a list of supported open action collect modules.

Input

  • request (Type: ModuleMetadataRequest!): An object that contains the query parameters.
    • implementation (Type: String): Query for the metadata of the module at the following address.
    • moduleType(Type: ModuleType, Required: false): Query for the metadata of the module at the following address matching the specified moduleType.

Output

  • moduleType (Type: ModuleType): The type of module
  • metadata(Type: ModuleMetadata): The metadata of the module which matches the schema mentioned above.