code: func NewSubmitBlockCmd(hexBlock string, options *SubmitBlockOptions) *SubmitBlockCmd {
  	return &SubmitBlockCmd{
  		HexBlock: hexBlock,
  		Options:  options,
  	}
  }
docs: // NewSubmitBlockCmd returns a new instance which can be used to issue a
  // submitblock JSON-RPC command.
  //
  // The parameters which are pointers indicate they are optional.  Passing nil
  // for optional parameters will use the default value.