FollowArgs: {
    data?: string;
    profile: Profile;
    sponsored?: boolean;
}

Type declaration

  • Optional data?: string

    If the profile is configured with an Unknown Follow Module, this is the calldata to be used to process the follow request.

    It's consumer responsibility to encode it correctly.

  • profile: Profile

    The profile to follow

  • Optional sponsored?: boolean

    Whether 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.