Creates a new NectarMissionParticipation
instance.
The NectarMission
instance that the participation belongs to.
The public key address of the participation.
The underlying Participation
object representing the participation data.
The StakedNft
object representing the staked NFT associated with the participation.
Throws an error if the participation does not belong to the mission or the staked NFT.
Readonly
addressGets the end time of the participation as a Date
.
The end time of the participation.
Checks if the participation has ended.
true
if the participation has ended, false
otherwise.
Checks if the participation has been recalled.
true
if the participation has been recalled, false
otherwise.
Gets the staked NFT associated with the participation.
The staked NFT object.
Gets the address of the staked NFT associated with the participation.
The address of the staked NFT.
Gets the rewards associated with the participation.
An array of ParticipationReward
or ParticipationCurrencyRewards
objects representing the rewards.
Gets the start time of the participation as a Date
.
The start time of the participation.
Gets the wallet address associated with the participation.
The wallet address.
Returns the NectarMission
instance that the participation belongs to.
The NectarMission
instance.
Recalls the participation from the mission for this instance.
Optional
confirmOptions: ConfirmOptionsOptional transaction confirmation options.
A promise that resolves to the transaction signature upon successful recall.
// Recall participation for this instance
const recallResult = await nectarMissionParticipation.recall();
console.log(recallResult); // Output: Transaction signature
Generated using TypeDoc
Represents a Nectar Mission Participation.