code: def call(method: Method, *args: Any, **kwargs: Any) -> Any:
      
      return validate_args(method, *args, **kwargs)(*args, **kwargs)
docs: Validates arguments and then calls the method.
  
      Args:
          method: The method to call.
          *args, **kwargs: Arguments to the method.
  
      Returns:
          The "result" part of the JSON-RPC response (the return value from the method).
  
      Raises:
          TypeError: If arguments don't match function signature.