BotTax: {
    lamports: SolAmount;
    lastInstruction: boolean;

Guard is used to:

  • charge a penalty for invalid transactions
  • validate that the mint transaction is the last transaction
  • verify that only authorized programs have instructions

The bot_tax is applied to any error that occurs during the validation of the guards.

Type declaration

  • lamports: SolAmount
  • lastInstruction: boolean

Generated using TypeDoc