Join Quest
Enroll Player in Quest.
const lensprovider = new ethers.providers.JsonRpcProvider(
"https://lensprovider.com",
232,
);
const {txHash, error, errorMessage } = await newDispatch.playerJoinQuest(
"8776305547672229303710652256128036480640562614756544519403188376059",
new ethers.Wallet(process.env.PLAYER_PRIVATE_KEY, lensprovider));/* Enter the Lens postId of the invoked Quest. */
postId: string;
/* Wallet instance for the Player on Polygon Network. */
wallet: ethers.Wallet;/* The txHash for acting on the Publication and joining the Quest. */
txHash?: `0x${string}`;
/* Boolean to indicate whether an error was encountered during joining. */
error: boolean;
/* Message of the encountered error. */
errorMessage?: string;Last updated