Optional
actions?: OpenActionConfig[]The Open Actions associated with the publication.
empty, no open actions
The publication ID to comment on.
Optional
commentUse this if the target publication is configured with an Unknown Reference Module that requires a calldata to process the reference logic.
It's consumer responsibility to encode it correctly.
The metadata URI.
Optional
reference?: ReferencePolicyConfigThe comment reference policy.
Determines the criteria that must be met for a user to be able to comment, quote, or mirror the comment.
{ type: ReferencePolicyType.ANYONE }
Optional
referrers?: ReferrersThe referrers list for any Unknown Reference Module logic.
It can be a list of Publication IDs or Profile IDs.
Optional
sponsored?: booleanWhether the transaction costs should be sponsored by the Lens API or should be paid by the authenticated wallet.
There are scenarios where the sponsorship will be denied regardless of this value. See BroadcastingError with:
If not specified, or true
, the hook will attempt a Sponsored Transaction.
Set it to false
to force it to use a Self-Funded Transaction.
Create new comment details.