The NectarStaking instance used for fetching rewards and multipliers.
Arguments for fetching rewards for a staker's NFT.
A promise that resolves to an object containing the rewards and multipliers for the NFT.
const staking = new NectarStaking(...);
const staker = ... // Get the staker instance
const nft = ... // Get the staked NFT instance
const rewards = await fetchRewards(staking, { staker, nft });
Generated using TypeDoc
Fetches the rewards and multipliers for a given staker's NFT.