The Gated module is a secondary entry point of the @lens-protocol/client package. It provides an alternative Gated.LensClient class that supports all the functionalities of the Core.LensClient plus the Gated module.

The reason for this separation is that token-gated feature requires extra 3rd party dependencies that could potentially impact the bundle size of your application. This way the developer have the choice to opt-in for token-gated support only when needed.

The usage is the same as the Core.LensClient class, but with the addition of token gated configuration Gated.LensClientConfig: authentication, signer, and encryption.

Quick start

Install the required peer dependencies.

npm install zod @lens-protocol/metadata@latest

# OR

yarn add zod @lens-protocol/metadata@latest

# OR

pnpm add zod @lens-protocol/metadata@latest

Typical NodeJS setup:

import { Wallet } from 'ethers';
import { production } from '@lens-protocol/client';
import { LensClient } from '@lens-protocol/client/gated';

const signer = new Wallet(process.env.PRIVATE_KEY);

const client = new LensClient({
environment: production,

authentication: {
domain: process.env.DOMAIN,
uri: process.env.URI,
},

signer,
});

Browser setup with ethers v6 and an EIP-1193 wallet (e.g. MetaMask):

import { BrowserProvider } from 'ethers';
import { production } from '@lens-protocol/client';
import { LensClient } from '@lens-protocol/client/gated';

// wrap the EIP-1193 provider with ethers v6 BrowserProvider
const provider = new BrowserProvider(window.ethereum);

const client = new LensClient({
environment: production,

authentication: {
domain: window.location.hostname,
uri: window.location.href,
},

signer: await provider.getSigner(),
});

Encryption

You can encrypt publication metadata using the Gated.encryptPublicationMetadata method.

import { article, erc721OwnershipCondition } from '@lens-protocol/metadata';

// create metadata via '@lens-protocol/metadata' helpers
const metadata = article({ content: '...' });

// encrypt the metadata specifying the access condition
const result = await client.gated.encryptPublicationMetadata(
metadata,
erc721OwnershipCondition({
contract: { address: '0x...', chainId: 1 }
})
);

// handle encryption errors
if (result.isFailure()) {
console.error(result.error);
return; // bail out
}

// upload the encrypted metadata to your storage of choice
const contentURI = await uploadToIPFS(result.value);

// use the contentURI to create a publication
const result = await client.publication.postOnchain({ contentURI });

What's happening?

  1. create metadata via @lens-protocol/metadata helpers,
  2. encrypt it with the given access condition,
  3. upload it to a public location (e.g. IPFS, Arweave, public S3 bucket),
  4. use the resulting contentURI to create a Lens publication.

Simple criteria

Supported criteria available as helpers in the @lens-protocol/metadata package:

  • collectCondition - the collection of a given publication is required
  • eoaOwnershipCondition - the ownership of a given EOA is required
  • erc20OwnershipCondition - the ownership of a given ERC20 amount is required
  • erc721OwnershipCondition - the ownership of a given ERC721 token is required
  • erc1155OwnershipCondition - the ownership of a given ERC1155 token is required
  • profileOwnershipCondition - the ownership of a given profile is required
  • followCondition - following a given profile is required

Refer to the @lens-protocol/metadata reference for more details.

Collect this publication

It's possible to define an access condition where one of the criteria is to collect the current publication.

Because at the time of encryption the publication is not yet created, the Core.Publication.predictNextOnChainPublicationId can be used to predict the publication ID.

const condition = collectCondition({
publicationId: await client.publication.predictNextOnChainPublicationId({
from: profile.id,
}),
thisPublication: true, // flag to indicate that the current publication is the one to collect
});

Compound criteria

Multiple criteria can be combined using the orCondition and andCondition helpers.

const result = await client.gated.encryptPublicationMetadata(
metadata,
orCondition([
profileOwnershipCondition({
profileId: profile.id,
}),
erc721OwnershipCondition({
contract: { address: '0x...', chainId: 1 }
})
])
);

Supported compound criteria:

  • andCondition - up to 5 criteria can be combined using the AND operator (except orCondition and andCondition)
  • orCondition - up to 5 criteria can be combined using the OR operator (except orCondition and andCondition)

Decryption

You can decrypt publication metadata using the Gated.decryptPublicationMetadataFragment method.

The method works seamlessly with publications returned by any LensClient method.

import { isEncryptedPublicationMetadata } from '@lens-protocol/client/gated';

// fetch a publication, works with publications returned by any LensClient method
const post = await client.publication.fetch({ forId: '...' });

// check if the publication metadata is encrypted
if (isEncryptedPublicationMetadata(post.metadata)) {

// decrypt the metadata
const result = await client.gated.decryptPublicationMetadataFragment(post.metadata);

// handle decryption errors
if (result.isFailure()) {
console.error(result.error);
return; // bail out
}

// use the decrypted metadata
console.log(result.value);
}

⚠️ In case you find yourself using this feature with publication metadata fragment not originated from the LensClient it's your responsibility to make sure the PublicationMetadata fragment is valid by making sure it:

  • has __typename defined at every level of the fragment
  • has the encryptedWith including ALL fields and sub-fields of the corresponding GQL node.

LensClient

LensClient Modules

Functions

Interfaces

References

ActOnOpenActionInput ActOnOpenActionLensManagerInput ActOnOpenActionLensManagerRequest ActOnOpenActionRequest ActedNotificationFragment Actions AdvancedContractConditionFragment AlreadyInvitedCheckRequest AmountFragment AmountInput AndConditionFragment AnyEncryptablePublicationMetadataFragment AnyPublicationFragment AppFragment AppId ApprovedAllowanceAmountResultFragment ApprovedAuthenticationFragment ApprovedAuthenticationRequest ApprovedModuleAllowanceAmountRequest ArticleMetadataV3Fragment AudioFragment AudioMetadataV3Fragment AuthChallengeFragment Authentication BlockRequest Bookmarks BroadcastRequest CanDecryptResponseFragment ChallengeRequest ChangeProfileManager ChangeProfileManagerActionType ChangeProfileManagersRequest CheckingInMetadataV3Fragment ClaimProfileWithHandleErrorReasonType ClaimProfileWithHandleErrorResultFragment ClaimProfileWithHandleRequest ClaimableProfilesResultFragment CollectActionModuleInput CollectConditionFragment CollectOpenActionModuleType CommentBaseFragment CommentFragment CommentNotificationFragment CommentRankingFilterType ComparisonOperatorConditionType CreateActOnOpenActionBroadcastItemResultFragment CreateActOnOpenActionEip712TypedDataFragment CreateBlockProfilesBroadcastItemResultFragment CreateChangeProfileManagersBroadcastItemResultFragment CreateFollowBroadcastItemResultFragment CreateFrameEip712TypedDataFragment CreateFrameEip712TypedDataInput CreateFrameEip712TypedDataTypesInput CreateFrameEip712TypedDataValueInput CreateLegacyCollectBroadcastItemResultFragment CreateLegacyCollectEip712TypedDataFragment CreateLinkHandleToProfileBroadcastItemResultFragment CreateMomokaCommentBroadcastItemResultFragment CreateMomokaMirrorBroadcastItemResultFragment CreateMomokaPostBroadcastItemResultFragment CreateMomokaPublicationResultFragment CreateMomokaQuoteBroadcastItemResultFragment CreateOnchainCommentBroadcastItemResultFragment CreateOnchainMirrorBroadcastItemResultFragment CreateOnchainPostBroadcastItemResultFragment CreateOnchainQuoteBroadcastItemResultFragment CreateOnchainSetProfileMetadataBroadcastItemResultFragment CreateProfileRequest CreateProfileWithHandleErrorReasonType CreateProfileWithHandleErrorResultFragment CreateProfileWithHandleRequest CreateSetFollowModuleBroadcastItemResultFragment CreateUnblockProfilesBroadcastItemResultFragment CreateUnfollowBroadcastItemResultFragment CreateUnlinkHandleFromProfileBroadcastItemResultFragment CredentialsExpiredError CustomFiltersType DecryptFailReasonType DefaultProfileRequest DegreesOfSeparationReferenceModuleInput DegreesOfSeparationReferenceModuleSettingsFragment Digit DismissRecommendedProfilesRequest Eip712TypedDataDomainFragment Eip712TypedDataDomainInput Eip712TypedDataFieldFragment Eip712TypedDataFieldInput EmbedMetadataV3Fragment EncryptableAudioFragment EncryptableAudioSetFragment EncryptableImageFragment EncryptableImageSetFragment EncryptableVideoFragment EncryptableVideoSetFragment EoaOwnershipConditionFragment Erc20Fragment Erc20OwnershipConditionFragment EventMetadataV3Fragment EvmAddress Exact Explore ExploreProfilesOrderByType ExploreProfilesRequest ExploreProfilesWhere ExplorePublicationRequest ExplorePublicationType ExplorePublicationsOrderByType ExplorePublicationsWhere Failure FeeFollowModuleInput FeeFollowModuleRedeemInput FeeFollowModuleSettingsFragment Feed FeedEventItemType FeedHighlightsRequest FeedHighlightsWhere FeedItemFragment FeedRequest FeedWhere FetchProfileOptions FetchPublicationOptions FiatAmountFragment FiatFragment Follow FollowConditionFragment FollowLensManager FollowLensManagerModuleRedeemInput FollowLensManagerRequest FollowModuleInput FollowModuleRedeemInput FollowModuleType FollowNotificationFragment FollowOnlyReferenceModuleSettingsFragment FollowPaidActionFragment FollowRequest FollowRevenueRequest FollowStatusBulk FollowStatusBulkRequest FollowStatusBulkResultFragment FollowersRequest FollowingRequest FrameEip712Request FrameLensManagerEip712Request FrameLensManagerSignatureResultFragment FrameVerifySignature FrameVerifySignatureResult Frames FraudReasonInput GenerateModuleCurrencyApprovalDataRequest GenerateModuleCurrencyApprovalResultFragment GeoLocationFragment GraphQLClientError Handle HandleInfoFragment HandleToAddressRequest HiddenCommentsType HideCommentRequest HideManagedProfileRequest HidePublicationRequest IAuthentication IEquatableError IStorageProvider IllegalReasonInput ImageFragment ImageMetadataV3Fragment ImageSetFragment ImageSizeTransform ImageTransform InMemoryStorageProvider InputMaybe InvariantError InviteRequest InvitedResultFragment Invites KnownCollectOpenActionResultFragment KnownSupportedModuleFragment LastLoggedInProfileRequest LatestActedFragment LatestPaidActionsFilter LatestPaidActionsRequest LatestPaidActionsWhere LegacyAaveFeeCollectModuleSettingsFragment LegacyCollectRequest LegacyDegreesOfSeparationReferenceModuleSettingsFragment LegacyErc4626FeeCollectModuleSettingsFragment LegacyFeeCollectModuleSettingsFragment LegacyFollowOnlyReferenceModuleSettingsFragment LegacyFreeCollectModuleSettingsFragment LegacyLimitedFeeCollectModuleSettingsFragment LegacyLimitedTimedFeeCollectModuleSettingsFragment LegacyMultirecipientFeeCollectModuleSettingsFragment LegacyRevertCollectModuleSettingsFragment LegacySimpleCollectModuleSettingsFragment LegacyTimedFeeCollectModuleSettingsFragment LensProfileManagerRelayErrorFragment LensProfileManagerRelayErrorReasonType LensTransactionFailureType LensTransactionResultFragment LensTransactionStatusRequest LensTransactionStatusType LimitType LinkHandleToProfileRequest LinkMetadataV3Fragment LiveStreamMetadataV3Fragment ManagedProfileVisibility MarketplaceMetadataAttributeDisplayType MarketplaceMetadataFragment Maybe MentionNotificationFragment MetadataAttributeType MintMetadataV3Fragment MirrorFragment MirrorNotificationFragment ModuleCurrencyApproval ModuleData ModuleInfoFragment ModuleMetadataRequest ModuleMetadataResultFragment ModuleParam ModuleType Modules Momoka MomokaCommentRequest MomokaCommentTransactionFragment MomokaInfoFragment MomokaMirrorRequest MomokaMirrorTransactionFragment MomokaPostRequest MomokaPostTransactionFragment MomokaQuoteRequest MomokaQuoteTransactionFragment MomokaSubmitterResultFragment MomokaTransaction MomokaTransactionRequest MomokaTransactionsRequest MomokaValidatorError MomokaVerificationStatusFailureFragment MomokaVerificationStatusSuccessFragment MultirecipientFeeCollectModuleInput MultirecipientFeeCollectOpenActionSettingsFragment MutualFollowersRequest MutualNftCollectionsRequest NetworkAddressFragment NetworkAddressInput NftCollectionFragment NftCollectionOwnersOrder NftCollectionOwnersRequest NftCollectionWithOwnersFragment NftCollectionsRequest NftContractType NftFragment NftGalleriesRequest NftGalleryCreateRequest NftGalleryDeleteRequest NftGalleryFragment NftGalleryUpdateInfoRequest NftGalleryUpdateItemOrderRequest NftGalleryUpdateItemsRequest NftImageFragment NftInput NftMetadataFragment NftOwnershipConditionFragment NftUpdateItemOrder Nfts NftsRequest NftsRequestWhere NotAuthenticatedError NotInterested NotificationFragment NotificationRequest NotificationType NotificationWhere Notifications OnchainCommentRequest OnchainMirrorRequest OnchainPostRequest OnchainQuoteRequest OnchainReferrer OnchainSetProfileMetadataRequest OpenActionCategoryType OpenActionFilter OpenActionModuleFragment OpenActionModuleInput OpenActionModuleType OpenActionModuleWithReferralFeeFragment OpenActionPaidActionFragment OpenActionProfileActedFragment OpenActionResult_KnownCollectOpenActionResult_Fragment OpenActionResult_UnknownOpenActionResult_Fragment OptimisticStatusResultFragment OrConditionFragment OwnedHandlesRequest OwnerFragment PaginatedOffsetRequest PaginatedQueryData PaginatedResult PaginatedResultInfoFragment PeerToPeerRecommendRequest Percentage Pixel PopularNftCollectionsOrder PopularNftCollectionsRequest PostFragment PrimaryPublicationFragment Profile ProfileActionHistoryFragment ProfileActionHistoryRequest ProfileActionHistoryType ProfileCoverSetFragment ProfileFragment ProfileFraudReasonInput ProfileInterestTypes ProfileInterestsRequest ProfileManagerFragment ProfileManagersRequest ProfileMentionedFragment ProfileMetadataFragment ProfileOwnershipConditionFragment ProfilePictureSetFragment ProfileReactionResultFragment ProfileRecommendationsRequest ProfileReportingFraudSubreason ProfileReportingReason ProfileReportingReasonInput ProfileReportingSpamSubreason ProfileRequest ProfileSearchRequest ProfileSearchWhere ProfileSpamReasonInput ProfileStatsArg ProfileStatsCountOpenActionArgs ProfileStatsFragment ProfileWhoReactedResultFragment ProfilesManagedRequest ProfilesOrderBy ProfilesRequest ProfilesRequestWhere PromiseResult Publication PublicationBookmarkRequest PublicationBookmarksRequest PublicationBookmarksWhere PublicationCommentOn PublicationCommentOnRanking PublicationContentWarningType PublicationMarketplaceMetadataAttributeFragment PublicationMetadataContentWarningFilter PublicationMetadataFilters PublicationMetadataFragment PublicationMetadataLicenseType PublicationMetadataLitEncryptionFragment PublicationMetadataMainFocusType PublicationMetadataMediaAudioFragment PublicationMetadataMediaFragment PublicationMetadataMediaImageFragment PublicationMetadataMediaVideoFragment PublicationMetadataTagsFilter PublicationMetadataTransactionType PublicationNotInterestedRequest PublicationOperationsFragment PublicationReactionType PublicationReportingFraudSubreason PublicationReportingIllegalSubreason PublicationReportingReason PublicationReportingSensitiveSubreason PublicationReportingSpamSubreason PublicationRequest PublicationRevenueFragment PublicationSearchRequest PublicationSearchWhere PublicationStatsCountOpenActionArgs PublicationStatsFragment PublicationStatsInput PublicationType PublicationValidateMetadataResultFragment PublicationsRequest PublicationsTagsRequest PublicationsTagsWhere PublicationsWhere QueryParams QuoteBaseFragment QuoteFragment QuoteNotificationFragment ReactionEventFragment ReactionNotificationFragment ReactionRequest Reactions RecipientDataInput ReferenceModuleInput ReferenceModuleType RefreshPublicationMetadataRequest RefreshPublicationMetadataResultType RelayErrorFragment RelayErrorReasonType RelayQueueResultFragment RelayRoleKey RelaySuccessFragment ReportProfileRequest ReportPublicationRequest ReportingReasonInput ReservedClaimableFragment Result Revenue RevenueAggregateFragment RevenueFromPublicationRequest RevenueFromPublicationsRequest RevertFollowModuleSettingsFragment RevokeAuthenticationRequest RootConditionFragment Scalars Search SearchPublicationType SensitiveReasonInput SetDefaultProfileRequest SetFollowModuleRequest SignedAuthChallenge SimpleCollectOpenActionModuleInput SimpleCollectOpenActionSettingsFragment SpaceMetadataV3Fragment SpamReasonInput StoryMetadataV3Fragment Success SupportedFiatType SupportedModulesRequest TagResultFragment TagSortCriteriaType TextOnlyMetadataV3Fragment ThreeDMetadataV3AssetFragment ThreeDMetadataV3Fragment Transaction TransactionMetadataV3Fragment TransactionPollingError TriStateValue TypedData TypedDataOptions TypedDataResponse UnblockRequest UnfollowRequest UnhideCommentRequest UnhideManagedProfileRequest UnknownFollowModuleInput UnknownFollowModuleRedeemInput UnknownFollowModuleSettingsFragment UnknownOpenActionActRedeemInput UnknownOpenActionModuleInput UnknownOpenActionModuleSettingsFragment UnknownOpenActionResultFragment UnknownReferenceModuleInput UnknownReferenceModuleSettingsFragment UnknownSupportedModuleFragment UnlinkHandleFromProfileRequest UserCurrentRateLimitFragment UserCurrentRateLimitRequest UserCurrentRateLimitResultFragment UserSigNoncesFragment ValidatePublicationMetadataRequest VerifyRequest VideoFragment VideoMetadataV3Fragment Wallet WalletAuthenticationToProfileAuthenticationRequest WhoActedOnPublicationRequest WhoActedOnPublicationWhere WhoHaveBlockedRequest WhoReactedPublicationRequest WhoReactedPublicationWhere decodeData development encodeData isCommentPublication isCreateMomokaPublicationResult isFollowPaidAction isMirrorPublication isOpenActionModuleWithReferralFee isOpenActionPaidAction isPostPublication isQuotePublication isRelaySuccess isUnknownFollowModuleSettings isUnknownOpenActionModuleSettings isUnknownReferenceModuleSettings isValidHandle production

Type Aliases

References

Re-exports ActOnOpenActionInput
Re-exports ActOnOpenActionLensManagerInput
Re-exports ActOnOpenActionLensManagerRequest
Re-exports ActOnOpenActionRequest
Re-exports ActedNotificationFragment
Re-exports Actions
Re-exports AdvancedContractConditionFragment
Re-exports AlreadyInvitedCheckRequest
Re-exports AmountFragment
Re-exports AmountInput
Re-exports AndConditionFragment
Re-exports AnyEncryptablePublicationMetadataFragment
Re-exports AnyPublicationFragment
Re-exports AppFragment
Re-exports AppId
Re-exports ApprovedAllowanceAmountResultFragment
Re-exports ApprovedAuthenticationFragment
Re-exports ApprovedAuthenticationRequest
Re-exports ApprovedModuleAllowanceAmountRequest
Re-exports ArticleMetadataV3Fragment
Re-exports AudioFragment
Re-exports AudioMetadataV3Fragment
Re-exports AuthChallengeFragment
Re-exports Authentication
Re-exports BlockRequest
Re-exports Bookmarks
Re-exports BroadcastRequest
Re-exports CanDecryptResponseFragment
Re-exports ChallengeRequest
Re-exports ChangeProfileManager
Re-exports ChangeProfileManagerActionType
Re-exports ChangeProfileManagersRequest
Re-exports CheckingInMetadataV3Fragment
Re-exports ClaimProfileWithHandleErrorReasonType
Re-exports ClaimProfileWithHandleErrorResultFragment
Re-exports ClaimProfileWithHandleRequest
Re-exports ClaimableProfilesResultFragment
Re-exports CollectActionModuleInput
Re-exports CollectConditionFragment
Re-exports CollectOpenActionModuleType
Re-exports CommentBaseFragment
Re-exports CommentFragment
Re-exports CommentNotificationFragment
Re-exports CommentRankingFilterType
Re-exports ComparisonOperatorConditionType
Re-exports CreateActOnOpenActionBroadcastItemResultFragment
Re-exports CreateActOnOpenActionEip712TypedDataFragment
Re-exports CreateBlockProfilesBroadcastItemResultFragment
Re-exports CreateChangeProfileManagersBroadcastItemResultFragment
Re-exports CreateFollowBroadcastItemResultFragment
Re-exports CreateFrameEip712TypedDataFragment
Re-exports CreateFrameEip712TypedDataInput
Re-exports CreateFrameEip712TypedDataTypesInput
Re-exports CreateFrameEip712TypedDataValueInput
Re-exports CreateLegacyCollectBroadcastItemResultFragment
Re-exports CreateLegacyCollectEip712TypedDataFragment
Re-exports CreateLinkHandleToProfileBroadcastItemResultFragment
Re-exports CreateMomokaCommentBroadcastItemResultFragment
Re-exports CreateMomokaMirrorBroadcastItemResultFragment
Re-exports CreateMomokaPostBroadcastItemResultFragment
Re-exports CreateMomokaPublicationResultFragment
Re-exports CreateMomokaQuoteBroadcastItemResultFragment
Re-exports CreateOnchainCommentBroadcastItemResultFragment
Re-exports CreateOnchainMirrorBroadcastItemResultFragment
Re-exports CreateOnchainPostBroadcastItemResultFragment
Re-exports CreateOnchainQuoteBroadcastItemResultFragment
Re-exports CreateOnchainSetProfileMetadataBroadcastItemResultFragment
Re-exports CreateProfileRequest
Re-exports CreateProfileWithHandleErrorReasonType
Re-exports CreateProfileWithHandleErrorResultFragment
Re-exports CreateProfileWithHandleRequest
Re-exports CreateSetFollowModuleBroadcastItemResultFragment
Re-exports CreateUnblockProfilesBroadcastItemResultFragment
Re-exports CreateUnfollowBroadcastItemResultFragment
Re-exports CreateUnlinkHandleFromProfileBroadcastItemResultFragment
Re-exports CredentialsExpiredError
Re-exports CustomFiltersType
Re-exports DecryptFailReasonType
Re-exports DefaultProfileRequest
Re-exports DegreesOfSeparationReferenceModuleInput
Re-exports DegreesOfSeparationReferenceModuleSettingsFragment
Re-exports Digit
Re-exports DismissRecommendedProfilesRequest
Re-exports Eip712TypedDataDomainFragment
Re-exports Eip712TypedDataDomainInput
Re-exports Eip712TypedDataFieldFragment
Re-exports Eip712TypedDataFieldInput
Re-exports EmbedMetadataV3Fragment
Re-exports EncryptableAudioFragment
Re-exports EncryptableAudioSetFragment
Re-exports EncryptableImageFragment
Re-exports EncryptableImageSetFragment
Re-exports EncryptableVideoFragment
Re-exports EncryptableVideoSetFragment
Re-exports EoaOwnershipConditionFragment
Re-exports Erc20Fragment
Re-exports Erc20OwnershipConditionFragment
Re-exports EventMetadataV3Fragment
Re-exports EvmAddress
Re-exports Exact
Re-exports Explore
Re-exports ExploreProfilesOrderByType
Re-exports ExploreProfilesRequest
Re-exports ExploreProfilesWhere
Re-exports ExplorePublicationRequest
Re-exports ExplorePublicationType
Re-exports ExplorePublicationsOrderByType
Re-exports ExplorePublicationsWhere
Re-exports Failure
Re-exports FeeFollowModuleInput
Re-exports FeeFollowModuleRedeemInput
Re-exports FeeFollowModuleSettingsFragment
Re-exports Feed
Re-exports FeedEventItemType
Re-exports FeedHighlightsRequest
Re-exports FeedHighlightsWhere
Re-exports FeedItemFragment
Re-exports FeedRequest
Re-exports FeedWhere
Re-exports FetchProfileOptions
Re-exports FetchPublicationOptions
Re-exports FiatAmountFragment
Re-exports FiatFragment
Re-exports Follow
Re-exports FollowConditionFragment
Re-exports FollowLensManager
Re-exports FollowLensManagerModuleRedeemInput
Re-exports FollowLensManagerRequest
Re-exports FollowModuleInput
Re-exports FollowModuleRedeemInput
Re-exports FollowModuleType
Re-exports FollowNotificationFragment
Re-exports FollowOnlyReferenceModuleSettingsFragment
Re-exports FollowPaidActionFragment
Re-exports FollowRequest
Re-exports FollowRevenueRequest
Re-exports FollowStatusBulk
Re-exports FollowStatusBulkRequest
Re-exports FollowStatusBulkResultFragment
Re-exports FollowersRequest
Re-exports FollowingRequest
Re-exports FrameEip712Request
Re-exports FrameLensManagerEip712Request
Re-exports FrameLensManagerSignatureResultFragment
Re-exports FrameVerifySignature
Re-exports FrameVerifySignatureResult
Re-exports Frames
Re-exports FraudReasonInput
Re-exports GenerateModuleCurrencyApprovalDataRequest
Re-exports GenerateModuleCurrencyApprovalResultFragment
Re-exports GeoLocationFragment
Re-exports GraphQLClientError
Re-exports Handle
Re-exports HandleInfoFragment
Re-exports HandleToAddressRequest
Re-exports HiddenCommentsType
Re-exports HideCommentRequest
Re-exports HideManagedProfileRequest
Re-exports HidePublicationRequest
Re-exports IAuthentication
Re-exports IEquatableError
Re-exports IStorageProvider
Re-exports IllegalReasonInput
Re-exports ImageFragment
Re-exports ImageMetadataV3Fragment
Re-exports ImageSetFragment
Re-exports ImageSizeTransform
Re-exports ImageTransform
Re-exports InMemoryStorageProvider
Re-exports InputMaybe
Re-exports InvariantError
Re-exports InviteRequest
Re-exports InvitedResultFragment
Re-exports Invites
Re-exports KnownCollectOpenActionResultFragment
Re-exports KnownSupportedModuleFragment
Re-exports LastLoggedInProfileRequest
Re-exports LatestActedFragment
Re-exports LatestPaidActionsFilter
Re-exports LatestPaidActionsRequest
Re-exports LatestPaidActionsWhere
Re-exports LegacyAaveFeeCollectModuleSettingsFragment
Re-exports LegacyCollectRequest
Re-exports LegacyDegreesOfSeparationReferenceModuleSettingsFragment
Re-exports LegacyErc4626FeeCollectModuleSettingsFragment
Re-exports LegacyFeeCollectModuleSettingsFragment
Re-exports LegacyFollowOnlyReferenceModuleSettingsFragment
Re-exports LegacyFreeCollectModuleSettingsFragment
Re-exports LegacyLimitedFeeCollectModuleSettingsFragment
Re-exports LegacyLimitedTimedFeeCollectModuleSettingsFragment
Re-exports LegacyMultirecipientFeeCollectModuleSettingsFragment
Re-exports LegacyRevertCollectModuleSettingsFragment
Re-exports LegacySimpleCollectModuleSettingsFragment
Re-exports LegacyTimedFeeCollectModuleSettingsFragment
Re-exports LensProfileManagerRelayErrorFragment
Re-exports LensProfileManagerRelayErrorReasonType
Re-exports LensTransactionFailureType
Re-exports LensTransactionResultFragment
Re-exports LensTransactionStatusRequest
Re-exports LensTransactionStatusType
Re-exports LimitType
Re-exports LinkHandleToProfileRequest
Re-exports LinkMetadataV3Fragment
Re-exports LiveStreamMetadataV3Fragment
Re-exports ManagedProfileVisibility
Re-exports MarketplaceMetadataAttributeDisplayType
Re-exports MarketplaceMetadataFragment
Re-exports Maybe
Re-exports MentionNotificationFragment
Re-exports MetadataAttributeType
Re-exports MintMetadataV3Fragment
Re-exports MirrorFragment
Re-exports MirrorNotificationFragment
Re-exports ModuleCurrencyApproval
Re-exports ModuleData
Re-exports ModuleInfoFragment
Re-exports ModuleMetadataRequest
Re-exports ModuleMetadataResultFragment
Re-exports ModuleParam
Re-exports ModuleType
Re-exports Modules
Re-exports Momoka
Re-exports MomokaCommentRequest
Re-exports MomokaCommentTransactionFragment
Re-exports MomokaInfoFragment
Re-exports MomokaMirrorRequest
Re-exports MomokaMirrorTransactionFragment
Re-exports MomokaPostRequest
Re-exports MomokaPostTransactionFragment
Re-exports MomokaQuoteRequest
Re-exports MomokaQuoteTransactionFragment
Re-exports MomokaSubmitterResultFragment
Re-exports MomokaTransaction
Re-exports MomokaTransactionRequest
Re-exports MomokaTransactionsRequest
Re-exports MomokaValidatorError
Re-exports MomokaVerificationStatusFailureFragment
Re-exports MomokaVerificationStatusSuccessFragment
Re-exports MultirecipientFeeCollectModuleInput
Re-exports MultirecipientFeeCollectOpenActionSettingsFragment
Re-exports MutualFollowersRequest
Re-exports MutualNftCollectionsRequest
Re-exports NetworkAddressFragment
Re-exports NetworkAddressInput
Re-exports NftCollectionFragment
Re-exports NftCollectionOwnersOrder
Re-exports NftCollectionOwnersRequest
Re-exports NftCollectionWithOwnersFragment
Re-exports NftCollectionsRequest
Re-exports NftContractType
Re-exports NftFragment
Re-exports NftGalleriesRequest
Re-exports NftGalleryCreateRequest
Re-exports NftGalleryDeleteRequest
Re-exports NftGalleryFragment
Re-exports NftGalleryUpdateInfoRequest
Re-exports NftGalleryUpdateItemOrderRequest
Re-exports NftGalleryUpdateItemsRequest
Re-exports NftImageFragment
Re-exports NftInput
Re-exports NftMetadataFragment
Re-exports NftOwnershipConditionFragment
Re-exports NftUpdateItemOrder
Re-exports Nfts
Re-exports NftsRequest
Re-exports NftsRequestWhere
Re-exports NotAuthenticatedError
Re-exports NotInterested
Re-exports NotificationFragment
Re-exports NotificationRequest
Re-exports NotificationType
Re-exports NotificationWhere
Re-exports Notifications
Re-exports OnchainCommentRequest
Re-exports OnchainMirrorRequest
Re-exports OnchainPostRequest
Re-exports OnchainQuoteRequest
Re-exports OnchainReferrer
Re-exports OnchainSetProfileMetadataRequest
Re-exports OpenActionCategoryType
Re-exports OpenActionFilter
Re-exports OpenActionModuleFragment
Re-exports OpenActionModuleInput
Re-exports OpenActionModuleType
Re-exports OpenActionModuleWithReferralFeeFragment
Re-exports OpenActionPaidActionFragment
Re-exports OpenActionProfileActedFragment
Re-exports OpenActionResult_KnownCollectOpenActionResult_Fragment
Re-exports OpenActionResult_UnknownOpenActionResult_Fragment
Re-exports OptimisticStatusResultFragment
Re-exports OrConditionFragment
Re-exports OwnedHandlesRequest
Re-exports OwnerFragment
Re-exports PaginatedOffsetRequest
Re-exports PaginatedQueryData
Re-exports PaginatedResult
Re-exports PaginatedResultInfoFragment
Re-exports PeerToPeerRecommendRequest
Re-exports Percentage
Re-exports Pixel
Re-exports PopularNftCollectionsOrder
Re-exports PopularNftCollectionsRequest
Re-exports PostFragment
Re-exports PrimaryPublicationFragment
Re-exports Profile
Re-exports ProfileActionHistoryFragment
Re-exports ProfileActionHistoryRequest
Re-exports ProfileActionHistoryType
Re-exports ProfileCoverSetFragment
Re-exports ProfileFragment
Re-exports ProfileFraudReasonInput
Re-exports ProfileInterestTypes
Re-exports ProfileInterestsRequest
Re-exports ProfileManagerFragment
Re-exports ProfileManagersRequest
Re-exports ProfileMentionedFragment
Re-exports ProfileMetadataFragment
Re-exports ProfileOwnershipConditionFragment
Re-exports ProfilePictureSetFragment
Re-exports ProfileReactionResultFragment
Re-exports ProfileRecommendationsRequest
Re-exports ProfileReportingFraudSubreason
Re-exports ProfileReportingReason
Re-exports ProfileReportingReasonInput
Re-exports ProfileReportingSpamSubreason
Re-exports ProfileRequest
Re-exports ProfileSearchRequest
Re-exports ProfileSearchWhere
Re-exports ProfileSpamReasonInput
Re-exports ProfileStatsArg
Re-exports ProfileStatsCountOpenActionArgs
Re-exports ProfileStatsFragment
Re-exports ProfileWhoReactedResultFragment
Re-exports ProfilesManagedRequest
Re-exports ProfilesOrderBy
Re-exports ProfilesRequest
Re-exports ProfilesRequestWhere
Re-exports PromiseResult
Re-exports Publication
Re-exports PublicationBookmarkRequest
Re-exports PublicationBookmarksRequest
Re-exports PublicationBookmarksWhere
Re-exports PublicationCommentOn
Re-exports PublicationCommentOnRanking
Re-exports PublicationContentWarningType
Re-exports PublicationMarketplaceMetadataAttributeFragment
Re-exports PublicationMetadataContentWarningFilter
Re-exports PublicationMetadataFilters
Re-exports PublicationMetadataFragment
Re-exports PublicationMetadataLicenseType
Re-exports PublicationMetadataLitEncryptionFragment
Re-exports PublicationMetadataMainFocusType
Re-exports PublicationMetadataMediaAudioFragment
Re-exports PublicationMetadataMediaFragment
Re-exports PublicationMetadataMediaImageFragment
Re-exports PublicationMetadataMediaVideoFragment
Re-exports PublicationMetadataTagsFilter
Re-exports PublicationMetadataTransactionType
Re-exports PublicationNotInterestedRequest
Re-exports PublicationOperationsFragment
Re-exports PublicationReactionType
Re-exports PublicationReportingFraudSubreason
Re-exports PublicationReportingIllegalSubreason
Re-exports PublicationReportingReason
Re-exports PublicationReportingSensitiveSubreason
Re-exports PublicationReportingSpamSubreason
Re-exports PublicationRequest
Re-exports PublicationRevenueFragment
Re-exports PublicationSearchRequest
Re-exports PublicationSearchWhere
Re-exports PublicationStatsCountOpenActionArgs
Re-exports PublicationStatsFragment
Re-exports PublicationStatsInput
Re-exports PublicationType
Re-exports PublicationValidateMetadataResultFragment
Re-exports PublicationsRequest
Re-exports PublicationsTagsRequest
Re-exports PublicationsTagsWhere
Re-exports PublicationsWhere
Re-exports QueryParams
Re-exports QuoteBaseFragment
Re-exports QuoteFragment
Re-exports QuoteNotificationFragment
Re-exports ReactionEventFragment
Re-exports ReactionNotificationFragment
Re-exports ReactionRequest
Re-exports Reactions
Re-exports RecipientDataInput
Re-exports ReferenceModuleInput
Re-exports ReferenceModuleType
Re-exports RefreshPublicationMetadataRequest
Re-exports RefreshPublicationMetadataResultType
Re-exports RelayErrorFragment
Re-exports RelayErrorReasonType
Re-exports RelayQueueResultFragment
Re-exports RelayRoleKey
Re-exports RelaySuccessFragment
Re-exports ReportProfileRequest
Re-exports ReportPublicationRequest
Re-exports ReportingReasonInput
Re-exports ReservedClaimableFragment
Re-exports Result
Re-exports Revenue
Re-exports RevenueAggregateFragment
Re-exports RevenueFromPublicationRequest
Re-exports RevenueFromPublicationsRequest
Re-exports RevertFollowModuleSettingsFragment
Re-exports RevokeAuthenticationRequest
Re-exports RootConditionFragment
Re-exports Scalars
Re-exports Search
Re-exports SearchPublicationType
Re-exports SensitiveReasonInput
Re-exports SetDefaultProfileRequest
Re-exports SetFollowModuleRequest
Re-exports SignedAuthChallenge
Re-exports SimpleCollectOpenActionModuleInput
Re-exports SimpleCollectOpenActionSettingsFragment
Re-exports SpaceMetadataV3Fragment
Re-exports SpamReasonInput
Re-exports StoryMetadataV3Fragment
Re-exports Success
Re-exports SupportedFiatType
Re-exports SupportedModulesRequest
Re-exports TagResultFragment
Re-exports TagSortCriteriaType
Re-exports TextOnlyMetadataV3Fragment
Re-exports ThreeDMetadataV3AssetFragment
Re-exports ThreeDMetadataV3Fragment
Re-exports Transaction
Re-exports TransactionMetadataV3Fragment
Re-exports TransactionPollingError
Re-exports TriStateValue
Re-exports TypedData
Re-exports TypedDataOptions
Re-exports TypedDataResponse
Re-exports UnblockRequest
Re-exports UnfollowRequest
Re-exports UnhideCommentRequest
Re-exports UnhideManagedProfileRequest
Re-exports UnknownFollowModuleInput
Re-exports UnknownFollowModuleRedeemInput
Re-exports UnknownFollowModuleSettingsFragment
Re-exports UnknownOpenActionActRedeemInput
Re-exports UnknownOpenActionModuleInput
Re-exports UnknownOpenActionModuleSettingsFragment
Re-exports UnknownOpenActionResultFragment
Re-exports UnknownReferenceModuleInput
Re-exports UnknownReferenceModuleSettingsFragment
Re-exports UnknownSupportedModuleFragment
Re-exports UnlinkHandleFromProfileRequest
Re-exports UserCurrentRateLimitFragment
Re-exports UserCurrentRateLimitRequest
Re-exports UserCurrentRateLimitResultFragment
Re-exports UserSigNoncesFragment
Re-exports ValidatePublicationMetadataRequest
Re-exports VerifyRequest
Re-exports VideoFragment
Re-exports VideoMetadataV3Fragment
Re-exports Wallet
Re-exports WalletAuthenticationToProfileAuthenticationRequest
Re-exports WhoActedOnPublicationRequest
Re-exports WhoActedOnPublicationWhere
Re-exports WhoHaveBlockedRequest
Re-exports WhoReactedPublicationRequest
Re-exports WhoReactedPublicationWhere
Re-exports decodeData
Re-exports development
Re-exports encodeData
Re-exports isCommentPublication
Re-exports isCreateMomokaPublicationResult
Re-exports isFollowPaidAction
Re-exports isMirrorPublication
Re-exports isOpenActionModuleWithReferralFee
Re-exports isOpenActionPaidAction
Re-exports isPostPublication
Re-exports isQuotePublication
Re-exports isRelaySuccess
Re-exports isUnknownFollowModuleSettings
Re-exports isUnknownOpenActionModuleSettings
Re-exports isUnknownReferenceModuleSettings
Re-exports isValidHandle
Re-exports production