• Creates a valid UsernameMetadata.

    const metadata = username({
    description: 'A collection of usernames',
    });

    With NFT contract-level metadata:

    const metadata = username({
    description: 'A collection of usernames',
    collection: {
    name: 'Lens Usernames',
    description: 'The official lens/ usernames',
    }
    });

    Parameters

    • input: UsernameOptions

      Use your IDE suggestions for an enhanced development experience

    Returns UsernameMetadata