The Honeycomb
instance.
Either a web3.PublicKey
or a NewMissionPoolArgs
object.
A NectarMissions
instance.
// Create a new mission pool
const args: NewMissionPoolArgs = {
args: {
// ... (CreateMissionPoolArgs properties)
},
project: honeycombProject, // Your HoneycombProject instance
};
const missions = nectarMissionsModule(honeycomb, args);
// Get an existing mission pool
const missionPoolAddress = new web3.PublicKey("your_mission_pool_address");
const missions = nectarMissionsModule(honeycomb, missionPoolAddress);
Generated using TypeDoc
Returns a new instance of
NectarMissions
based on the providedargs
.