Static Readonly ACCOUNT_Static Readonly MIN_Static addCrafting program
the crafting recipe
Key authorized to use this instruction
Profile Account with required Crafting Permissions
the crafting domain
the ingredient's mint
the amount and mint for this ingredient
Static addAdd a non-consumable input to a recipe
InstructionReturn
Crafting program
the crafting recipe
Key authorized to use this instruction
Profile Account with required Crafting Permissions
the crafting domain
the ingredient's mint
the amount and mint for this ingredient- the amount and mint for this ingredient
Static addAdd an output to a recipe
InstructionReturn
Crafting program
the crafting recipe
Key authorized to use this instruction
Profile Account with required Crafting Permissions
the crafting domain
the craftable item for this output
the amount and mint for this ingredient
Static decodeStatic deregisterDeregister a recipe
InstructionReturn
Crafting program
the crafting recipe
Key authorized to use this instruction
Profile Account with required Crafting Permissions
receives rent refund
the crafting domain
the crafting recipe category
the input parameters
Static registerRegister a Recipe
InstructionReturn
Crafting program
the new crafting recipe
Key authorized to use this instruction
Profile Account with required Crafting Permissions
the crafting domain
the crafting recipe category
the input parameters
Optional feeRecipient: PublicKeyThe token account that receives the Recipe's feeAmount
Static removeRemove a consumable input from a recipe
InstructionReturn
Crafting program
the crafting recipe
Key authorized to use this instruction
Profile Account with required Crafting Permissions
the crafting domain
the input parameters
Static removeRemove a non-consumable input from a recipe
InstructionReturn
Crafting program
the crafting recipe
Key authorized to use this instruction
Profile Account with required Crafting Permissions
the crafting domain
the input parameters
Static removeRemove an output from a recipe
InstructionReturn
Crafting program
the crafting recipe
Key authorized to use this instruction
Profile Account with required Crafting Permissions
the crafting domain
the input parameters
Static updateUpdate a recipe
InstructionReturn
Crafting program
the crafting recipe
Key authorized to use this instruction
Profile Account with required Crafting Permissions
the crafting domain
input params
Optional feeRecipient: PublicKeyThe token account that receives the Recipe's feeAmount
Static updateUpdate a recipe's category
InstructionReturn
Crafting program
the crafting recipe
Key authorized to use this instruction
Profile Account with required Crafting Permissions
the crafting domain
the old recipe category
the new recipe category
the input parameters
Generated using TypeDoc
Add a consumable input to a recipe
Returns
InstructionReturn