Algorand TypeScript
    Preparing search index...

    Function abimethod

    • Declares the decorated method as an abimethod that is called when the first transaction arg matches the method selector

      Type Parameters

      • TContract extends Contract

        the type of the contract this method is a part of

      Parameters

      Returns <TArgs extends any[], TReturn>(
          target: (this: TContract, ...args: TArgs) => TReturn,
          ctx: ClassMethodDecoratorContext<TContract>,
      ) => (this: TContract, ...args: TArgs) => TReturn