Algorand TypeScript
    Preparing search index...

    Type Alias ContractProxyMethod<TMethod>

    ContractProxyMethod: TMethod extends (...args: infer TArgs) => infer TReturn
        ? (
            fields?: TypedApplicationCallFields<TArgs>,
        ) => TypedApplicationCallResponse<TReturn>
        : never

    Conditional type which maps an ABI method to a factory method for constructing an application call transaction to call that method.

    Type Parameters

    • TMethod