code: function validate_op_args({ name, params }) {
          switch (true) {
              case undefined === name:
              case null === name:
              case 'string' === typeof name:
                  if (params && 'object' !== typeof params) {
                      throw new Error([
                          'When calling a Statepen operation,',
                          'if arg 1 is provided, it must be a params object',
                      ].join(' '));
                  }
                  return { name, params };
          }
          throw new Error([
              'When calling a Statepen operation,',
              'if args are provided, arg 0 of must be a string',
          ].join(' '));
      }
docs: -----------