The Honeycomb instance.
The context arguments for creating the ClaimRewards operation.
An object containing the ClaimRewards operation.
// Usage example:
const honeycomb = new Honeycomb(connection, wallet);
const stakingPool = await NectarStaking.fromAddress(connection, stakingPoolAddress);
const stakedNft = { mint: nftMintAddress, staker: stakerAddress };
const args = { stakingPool, nft: stakedNft };
const { operation } = await createClaimRewardsOperation(honeycomb, args);
// Send the transaction
const txSignature = await honeycomb.sendTransaction(operation);
Generated using TypeDoc
Create an operation to claim rewards for a staked NFT.