• Calls a contract function.

    Type Parameters

    • T

    Parameters

    • __namedParameters: {
          abi: ContractInterface;
          contractAddress: string;
          funcName: string;
          funcParams?: unknown[];
          provider: Provider;
          signer?: Signer;
      }
      • abi: ContractInterface
      • contractAddress: string
      • funcName: string
      • Optional funcParams?: unknown[]
      • provider: Provider
      • Optional signer?: Signer

    Returns Promise<T>

    The result of the contract function call.

Generated using TypeDoc