The Honeycomb instance to use for creating the operation.
The arguments required to create the unstake operation.
An object containing the created operation.
// Assuming you have initialized the `honeycomb` instance and imported necessary types
const stakingPool = new NectarStaking(honeycomb, "your_staking_pool_address");
// Assuming you have an initialized `StakedNft` object `stakedNft`
const createUnstakeArgs: CreateUnstakeOperationArgs = {
stakingPool,
nft: stakedNft,
};
const operationResult = await createUnstakeOperation(honeycomb, createUnstakeArgs);
console.log("Created unstake operation:", operationResult.operation);
Generated using TypeDoc
Creates an unstake operation to unstake an NFT from the specified staking pool.