The Honeycomb instance to use for creating the operation.
The arguments required to create the initialization NFT 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");
const nftMint = new web3.PublicKey("your_nft_mint_address");
const createInitArgs: CreateInitNftOperationArgs = {
stakingPool,
nftMint,
};
const operationResult = await createInitNFTOperation(honeycomb, createInitArgs);
console.log("Created operation:", operationResult.operation);
Generated using TypeDoc
Creates an initialization NFT operation. This operation initializes an NFT for a staking pool.