code: func (gio GetInputsOptions) ToGetNewAddressOptions() GetNewAddressOptions {
  	if gio.End != nil {
  		total := *gio.End - gio.Start
  		return GetNewAddressOptions{
  			Index: gio.Start, Total: &total, Security: gio.Security, ReturnAll: true,
  		}
  	}
  	return GetNewAddressOptions{
  		Index: gio.Start, Security: gio.Security, ReturnAll: true,
  	}
  }
docs: // ToGetNewAddressOptions converts GetInputsOptions to GetNewAddressOptions.