Complete Milestone
Player Milestone Completion and Reward Claim.
const { txHash, error, errorMessage } = await newDispatch.playerCompleteQuestMilestone("8776305547672229303710652256128036480640562614756544519403188376059", new ethers.Wallet(process.env.PLAYER_PRIVATE_KEY, polygonProvider));/* The 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 completing the milestone and/or Quest. */
txHash?: `0x${string}`;
/* Boolean to indicate whether an error was encountered during completion and rewards claim. */
error: boolean;
/* Message of the encountered error. */
errorMessage?: string;Last updated