The Honeycomb instance.
The context arguments for creating the AddMultiplier operation.
An object containing the AddMultiplier operation.
// Usage example:
const honeycomb = new Honeycomb(connection, wallet);
const stakingPool = new web3.PublicKey("...");
const project = new web3.PublicKey("...");
const args: AddMultiplierArgs = {
type: "Custom Multiplier",
multiplier: 2,
};
const { operation } = await createAddMultiplierOperation(honeycomb, {
args,
project,
stakingPool,
});
// Send the transaction
const txSignature = await honeycomb.sendTransaction(operation);
Generated using TypeDoc
Create an operation to add a new multiplier to the staking pool.